aboutsummaryrefslogtreecommitdiff
path: root/node_modules/tools
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-16 11:42:09 -0700
committerValerio Virgillito2012-05-16 11:42:09 -0700
commit23bf5db97fb24afdb14d02faac1136fc04137e96 (patch)
treeb0d2bb48506cda93e0db62d3e77c4ca9fc7306cf /node_modules/tools
parent081d72d145f3b570f0f866802e015527848f690e (diff)
parent78250b70bdf0089e2b8ac56fb77e2f76ab83f34c (diff)
downloadninja-23bf5db97fb24afdb14d02faac1136fc04137e96.tar.gz
Merge pull request #238 from joseeight/Document
Fixing Chrome Preview
Diffstat (limited to 'node_modules/tools')
-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) {