diff options
Diffstat (limited to 'js')
-rwxr-xr-x | js/document/html-document.js | 2 | ||||
-rw-r--r-- | js/mediators/io-mediator.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/js/document/html-document.js b/js/document/html-document.js index 42a7d537..c9887b88 100755 --- a/js/document/html-document.js +++ b/js/document/html-document.js | |||
@@ -212,7 +212,7 @@ exports.HTMLDocument = Montage.create(TextDocument, { | |||
212 | { | 212 | { |
213 | /* | 213 | /* |
214 | // Use this code to test the runtime version of WebGL | 214 | // Use this code to test the runtime version of WebGL |
215 | var cdm = new CanvasDataManager(); | 215 | var cdm = new NinjaCvsRt.CanvasDataManager(); |
216 | cdm.loadGLData(elt, value, null ); | 216 | cdm.loadGLData(elt, value, null ); |
217 | */ | 217 | */ |
218 | 218 | ||
diff --git a/js/mediators/io-mediator.js b/js/mediators/io-mediator.js index 1efbb8bb..82bb31c4 100644 --- a/js/mediators/io-mediator.js +++ b/js/mediators/io-mediator.js | |||
@@ -440,7 +440,7 @@ window.addEventListener('load', loadWebGL, false);\n\ | |||
440 | function loadWebGL (e) {\n\ | 440 | function loadWebGL (e) {\n\ |
441 | window.removeEventListener('load', loadWebGL, false);\n\ | 441 | window.removeEventListener('load', loadWebGL, false);\n\ |
442 | //Calling method to initialize all webGL/canvas(es)\n\ | 442 | //Calling method to initialize all webGL/canvas(es)\n\ |
443 | initWebGl("+rootElement+", '"+rdgeDirName+"/');\n\ | 443 | NinjaCvsRt.initWebGl(" + rootElement + ", '" + rdgeDirName + "/');\n\ |
444 | }\ | 444 | }\ |
445 | "; | 445 | "; |
446 | //TODO: This data should be saved to a JSON file eventually | 446 | //TODO: This data should be saved to a JSON file eventually |