diff options
author | Eric Guzman | 2012-03-16 15:09:09 -0700 |
---|---|---|
committer | Eric Guzman | 2012-03-16 15:09:09 -0700 |
commit | f08e3660384ed6ed2ba8ecf959c90fd1ade818eb (patch) | |
tree | 49c36caa1f0cf7e5ff8ca9239609965aa1b7a8e5 /js/document/html-document.js | |
parent | 4afb01e3b8261ab5e9492bfc63ad17e44dfcb934 (diff) | |
parent | 3e98d9eaf6f691aa0f7a4334983537a4ee3ffd39 (diff) | |
download | ninja-f08e3660384ed6ed2ba8ecf959c90fd1ade818eb.tar.gz |
Merge branch 'refs/heads/master' into CSSPanelUpdates
Diffstat (limited to 'js/document/html-document.js')
-rwxr-xr-x | js/document/html-document.js | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/js/document/html-document.js b/js/document/html-document.js index 051490f5..d4db6e2f 100755 --- a/js/document/html-document.js +++ b/js/document/html-document.js | |||
@@ -207,9 +207,18 @@ exports.HTMLDocument = Montage.create(TextDocument, { | |||
207 | }, | 207 | }, |
208 | set: function(value) { | 208 | set: function(value) { |
209 | var elt = this.documentRoot; | 209 | var elt = this.documentRoot; |
210 | if (elt) { | 210 | if (elt) |
211 | { | ||
211 | var nWorlds= value.length; | 212 | var nWorlds= value.length; |
212 | for (var i=0; i<nWorlds; i++) { | 213 | for (var i=0; i<nWorlds; i++) |
214 | { | ||
215 | /* | ||
216 | // Use this code to test the runtime version of WebGL | ||
217 | var cdm = new CanvasDataManager(); | ||
218 | cdm.loadGLData(elt, value, null ); | ||
219 | */ | ||
220 | |||
221 | // /* | ||
213 | var importStr = value[i]; | 222 | var importStr = value[i]; |
214 | var startIndex = importStr.indexOf( "id: " ); | 223 | var startIndex = importStr.indexOf( "id: " ); |
215 | if (startIndex >= 0) { | 224 | if (startIndex >= 0) { |
@@ -236,6 +245,7 @@ exports.HTMLDocument = Montage.create(TextDocument, { | |||
236 | } | 245 | } |
237 | } | 246 | } |
238 | } | 247 | } |
248 | // */ | ||
239 | } | 249 | } |
240 | } | 250 | } |
241 | } | 251 | } |