diff options
author | Valerio Virgillito | 2012-04-24 15:36:03 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-04-24 15:36:03 -0700 |
commit | 4b5cc9cf1f01552f61c08b9299b6e99366432e03 (patch) | |
tree | 1838bd03a4e4d6c8ef9b31e7e62a88fd65a1706a /js/document/document-html.js | |
parent | 55e6d621b9555abac06ab4adff44dfe29a78ec4e (diff) | |
download | ninja-4b5cc9cf1f01552f61c08b9299b6e99366432e03.tar.gz |
Added a body controller
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/document/document-html.js')
-rwxr-xr-x | js/document/document-html.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/document/document-html.js b/js/document/document-html.js index 8cb88516..b19ca0d0 100755 --- a/js/document/document-html.js +++ b/js/document/document-html.js | |||
@@ -270,7 +270,8 @@ exports.HtmlDocument = Montage.create(Component, { | |||
270 | 270 | ||
271 | //TODO Finish this implementation once we start caching Core Elements | 271 | //TODO Finish this implementation once we start caching Core Elements |
272 | // Assign a model to the UserContent and add the ViewPort reference to it. | 272 | // Assign a model to the UserContent and add the ViewPort reference to it. |
273 | document.application.njUtils.makeElementModel(this.documentRoot, "Stage", "stage"); | 273 | document.application.njUtils.makeElementModel(this.documentRoot, "Body", "body"); |
274 | // this.documentRoot.elementModel.props3D.init(this.documentRoot, true); | ||
274 | 275 | ||
275 | for(i = 0; i < this._stylesheets.length; i++) { | 276 | for(i = 0; i < this._stylesheets.length; i++) { |
276 | if(this._stylesheets[i].ownerNode.id === "nj-stage-stylesheet") { | 277 | if(this._stylesheets[i].ownerNode.id === "nj-stage-stylesheet") { |