aboutsummaryrefslogtreecommitdiff
path: root/node_modules
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-05-16 11:37:05 -0700
committerJose Antonio Marquez2012-05-16 11:37:05 -0700
commit5de553a1b3bdd8783ab6ce017ae70369ad92a890 (patch)
tree5d98f4a2787682a44979b5574e84dc67a7d6f4ae /node_modules
parentb2c8041058ab8d16ca49d70ed24ddd29e79f51d2 (diff)
downloadninja-5de553a1b3bdd8783ab6ce017ae70369ad92a890.tar.gz
Fixing preview bug
Also setting up for Montage component serialization.
Diffstat (limited to 'node_modules')
-rwxr-xr-xnode_modules/tools/package.json14
-rwxr-xr-xnode_modules/tools/template/template-creator.js2
2 files changed, 15 insertions, 1 deletions
diff --git a/node_modules/tools/package.json b/node_modules/tools/package.json
new file mode 100755
index 00000000..5d830af3
--- /dev/null
+++ b/node_modules/tools/package.json
@@ -0,0 +1,14 @@
1
2{
3 "name": "tools",
4 "version": "0.1.0",
5 "description": "Montage Tools",
6 "main": "tools",
7 "mappings": {
8 "montage" : "../montage/"
9 },
10 "dependency": {
11 "montage" : "0.8"
12 }
13
14} \ No newline at end of file
diff --git a/node_modules/tools/template/template-creator.js b/node_modules/tools/template/template-creator.js
index 1cd65ddd..374353f0 100755
--- a/node_modules/tools/template/template-creator.js
+++ b/node_modules/tools/template/template-creator.js
@@ -39,7 +39,7 @@ var TemplateCreator = exports.TemplateCreator = Montage.create(Template, /** @le
39 script, 39 script,
40 self = this; 40 self = this;
41 41
42 this._objectNamesIndex = {}; 42 this._componentNamesIndex = {};
43 doc = this._document = document.implementation.createHTMLDocument(""); 43 doc = this._document = document.implementation.createHTMLDocument("");
44 44
45 function copyNode(sourceNode, targetNode, isRootNode) { 45 function copyNode(sourceNode, targetNode, isRootNode) {