aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-03-10 13:21:50 -0800
committerJose Antonio Marquez2012-03-10 13:21:50 -0800
commitd8c9578ced2c0dad0a9152ff955511986d9c013d (patch)
treebd9fd5320746b5ab9244f3438ceaa04c052563d0
parent1f4f6fce330d6c3ac22e317298ea63140ac7a86f (diff)
downloadninja-d8c9578ced2c0dad0a9152ff955511986d9c013d.tar.gz
Setting local path to assets
This is still no resolving issues with webGL runtime.
-rw-r--r--js/mediators/io-mediator.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/mediators/io-mediator.js b/js/mediators/io-mediator.js
index d26c7a88..11aeb74d 100644
--- a/js/mediators/io-mediator.js
+++ b/js/mediators/io-mediator.js
@@ -431,6 +431,7 @@ function initWebGl (e) {\n\
431 }\n\ 431 }\n\
432 //Creating data manager\n\ 432 //Creating data manager\n\
433 cvsDataMngr = new CanvasDataManager();\n\ 433 cvsDataMngr = new CanvasDataManager();\n\
434 g_Engine._assetPath = '"+rdgeDirName+"/';\n\
434 //Loading data to canvas(es)\n\ 435 //Loading data to canvas(es)\n\
435 cvsDataMngr.loadGLData(document.body, ninjaWebGlData.data, '"+rdgeDirName+"/');\n\ 436 cvsDataMngr.loadGLData(document.body, ninjaWebGlData.data, '"+rdgeDirName+"/');\n\
436}\ 437}\