aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-05-24 00:23:21 -0700
committerJose Antonio Marquez2012-05-24 00:23:21 -0700
commitfef450f6dd19243f7d6cffb80ba706a67d39e284 (patch)
treeefc921f0be96b73f0ed208e51e557d21587065ef /js/lib
parent5914c5b2209c4b8daac4249bb76cda5c9314c4e6 (diff)
downloadninja-fef450f6dd19243f7d6cffb80ba706a67d39e284.tar.gz
Fixing reference of document
Diffstat (limited to 'js/lib')
-rwxr-xr-xjs/lib/NJUtils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/NJUtils.js b/js/lib/NJUtils.js
index 90aebb84..7dd4c9e8 100755
--- a/js/lib/NJUtils.js
+++ b/js/lib/NJUtils.js
@@ -64,7 +64,7 @@ exports.NJUtils = Montage.create(Component, {
64 value: function(tag, attr, doc) { 64 value: function(tag, attr, doc) {
65 var _doc, el; 65 var _doc, el;
66 66
67 _doc = doc ? doc._document : document; 67 _doc = doc ? doc.model.views.design.document : document;
68 el = _doc.createElement(tag); 68 el = _doc.createElement(tag);
69 this.decor(el, attr); 69 this.decor(el, attr);
70 70