d6049891 by Michael Richards

Build 0.6.5.

1 parent 726dff02
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 "name": "rivets", 2 "name": "rivets",
3 "repo": "mikeric/rivets", 3 "repo": "mikeric/rivets",
4 "description": "Declarative data binding + templating solution.", 4 "description": "Declarative data binding + templating solution.",
5 "version": "0.6.4", 5 "version": "0.6.5",
6 "keywords": ["data binding", "templating"], 6 "keywords": ["data binding", "templating"],
7 "scripts": ["dist/rivets.js"], 7 "scripts": ["dist/rivets.js"],
8 "main": "dist/rivets.js", 8 "main": "dist/rivets.js",
......
1 // Rivets.js 1 // Rivets.js
2 // version: 0.6.4 2 // version: 0.6.5
3 // author: Michael Richards 3 // author: Michael Richards
4 // license: MIT 4 // license: MIT
5 (function() { 5 (function() {
...@@ -637,14 +637,14 @@ ...@@ -637,14 +637,14 @@
637 function KeypathParser() {} 637 function KeypathParser() {}
638 638
639 KeypathParser.parse = function(keypath, interfaces, root) { 639 KeypathParser.parse = function(keypath, interfaces, root) {
640 var char, current, index, tokens; 640 var char, current, tokens, _i, _len;
641 tokens = []; 641 tokens = [];
642 current = { 642 current = {
643 "interface": root, 643 "interface": root,
644 path: '' 644 path: ''
645 }; 645 };
646 for (index in keypath) { 646 for (_i = 0, _len = keypath.length; _i < _len; _i++) {
647 char = keypath[index]; 647 char = keypath[_i];
648 if (__indexOf.call(interfaces, char) >= 0) { 648 if (__indexOf.call(interfaces, char) >= 0) {
649 tokens.push(current); 649 tokens.push(current);
650 current = { 650 current = {
......
1 { 1 {
2 "name": "rivets", 2 "name": "rivets",
3 "description": "Declarative data binding + templating solution.", 3 "description": "Declarative data binding + templating solution.",
4 "version": "0.6.4", 4 "version": "0.6.5",
5 "author": "Michael Richards", 5 "author": "Michael Richards",
6 "url": "http://rivetsjs.com", 6 "url": "http://rivetsjs.com",
7 "main": "./dist/rivets.js", 7 "main": "./dist/rivets.js",
......