diff options
author | Jose Antonio Marquez | 2012-05-24 00:23:21 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-05-24 00:23:21 -0700 |
commit | fef450f6dd19243f7d6cffb80ba706a67d39e284 (patch) | |
tree | efc921f0be96b73f0ed208e51e557d21587065ef | |
parent | 5914c5b2209c4b8daac4249bb76cda5c9314c4e6 (diff) | |
download | ninja-fef450f6dd19243f7d6cffb80ba706a67d39e284.tar.gz |
Fixing reference of document
-rwxr-xr-x | js/lib/NJUtils.js | 2 |
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 | ||