From d5d4dcac78ebf8ba3163a8c7055d783b6397a435 Mon Sep 17 00:00:00 2001 From: John Mayhew Date: Tue, 3 Apr 2012 12:55:54 -0700 Subject: Namespaced the canvas runtime file and updated all dependencies --- js/document/html-document.js | 2 +- js/mediators/io-mediator.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'js') 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, { { /* // Use this code to test the runtime version of WebGL - var cdm = new CanvasDataManager(); + var cdm = new NinjaCvsRt.CanvasDataManager(); cdm.loadGLData(elt, value, null ); */ 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\ function loadWebGL (e) {\n\ window.removeEventListener('load', loadWebGL, false);\n\ //Calling method to initialize all webGL/canvas(es)\n\ - initWebGl("+rootElement+", '"+rdgeDirName+"/');\n\ + NinjaCvsRt.initWebGl(" + rootElement + ", '" + rdgeDirName + "/');\n\ }\ "; //TODO: This data should be saved to a JSON file eventually -- cgit v1.2.3