aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-24 11:59:17 -0700
committerValerio Virgillito2012-05-24 11:59:17 -0700
commit70ff8dd670bc37c14caf850e06791d1e293b1e4b (patch)
tree8e00a27c6c908dda3e816d1f5aaf0d2a889ca5dc /js/lib
parenta8eb5c65a21af3bf8d8b8eb3e65b494b8bd9bc01 (diff)
parenta6db492176a85546047dae6d5ecb9cfc4325e043 (diff)
downloadninja-70ff8dd670bc37c14caf850e06791d1e293b1e4b.tar.gz
Merge pull request #255 from joseeight/Document
Cleaning up referencing to documentRoot
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