diff options
author | Valerio Virgillito | 2012-05-24 11:59:17 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-24 11:59:17 -0700 |
commit | 70ff8dd670bc37c14caf850e06791d1e293b1e4b (patch) | |
tree | 8e00a27c6c908dda3e816d1f5aaf0d2a889ca5dc /js/lib | |
parent | a8eb5c65a21af3bf8d8b8eb3e65b494b8bd9bc01 (diff) | |
parent | a6db492176a85546047dae6d5ecb9cfc4325e043 (diff) | |
download | ninja-70ff8dd670bc37c14caf850e06791d1e293b1e4b.tar.gz |
Merge pull request #255 from joseeight/Document
Cleaning up referencing to documentRoot
Diffstat (limited to 'js/lib')
-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 | ||