aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhwc4872012-03-08 09:50:40 -0800
committerhwc4872012-03-08 09:50:40 -0800
commit710a17a23dee948304bad79d40424c3a477b6cc4 (patch)
tree75e7edd0401eaa4ba3283162fc1b1914a2197e25
parent4f7590251dd0fa4c07e04fd1f7fc927d9223c9b4 (diff)
downloadninja-710a17a23dee948304bad79d40424c3a477b6cc4.tar.gz
Commented out code for loading for runtime
-rwxr-xr-xjs/document/html-document.js16
1 files changed, 9 insertions, 7 deletions
diff --git a/js/document/html-document.js b/js/document/html-document.js
index 0a3497f1..b75eb226 100755
--- a/js/document/html-document.js
+++ b/js/document/html-document.js
@@ -187,13 +187,15 @@ exports.HTMLDocument = Montage.create(TextDocument, {
187 var elt = this.documentRoot; 187 var elt = this.documentRoot;
188 if (elt) 188 if (elt)
189 { 189 {
190 var loadForRuntime = true; 190// FOR JOSE: The following commented out lines are what the runtime
191 if (loadForRuntime) 191// version should execute.
192 { 192// var loadForRuntime = true;
193 var cdm = new CanvasDataManager(); 193// if (loadForRuntime)
194 cdm.loadGLData(elt, value, NJUtils); 194// {
195 } 195// var cdm = new CanvasDataManager();
196 else 196// cdm.loadGLData(elt, value, NJUtils);
197// }
198// else
197 { 199 {
198 var nWorlds= value.length; 200 var nWorlds= value.length;
199 for (var i=0; i<nWorlds; i++) 201 for (var i=0; i<nWorlds; i++)