aboutsummaryrefslogtreecommitdiff
path: root/js/mediators
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-03-23 13:22:42 -0700
committerJose Antonio Marquez2012-03-23 13:22:42 -0700
commit7e61ce5aba0c8465595804da21e365baf4d8c15d (patch)
tree7d1e8601ced65dbaca8adf307ed8820f1f4b9b16 /js/mediators
parent748a5c55e15809add748a15a87cd730e3fcee4bf (diff)
downloadninja-7e61ce5aba0c8465595804da21e365baf4d8c15d.tar.gz
Removing m-js components I/O and fix for webGL
Removed saving m-js components as new components broke I/O when present. Also made a fix for checking length of webGL array since first item now is non-user data. (That is to be removed)
Diffstat (limited to 'js/mediators')
-rw-r--r--js/mediators/io-mediator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/mediators/io-mediator.js b/js/mediators/io-mediator.js
index cbed3a99..1efbb8bb 100644
--- a/js/mediators/io-mediator.js
+++ b/js/mediators/io-mediator.js
@@ -348,7 +348,7 @@ exports.IoMediator = Montage.create(Component, {
348 } 348 }
349 } 349 }
350 //Checking for webGL elements in document 350 //Checking for webGL elements in document
351 if (template.webgl && template.webgl.length > 0) { 351 if (template.webgl && template.webgl.length > 1) {//TODO: Should be length 0, hack for a temp fix
352 var rdgeDirName, rdgeVersion; 352 var rdgeDirName, rdgeVersion;
353 //Copy webGL library if needed 353 //Copy webGL library if needed
354 for (var i in this.application.ninja.coreIoApi.ninjaLibrary.libs) { 354 for (var i in this.application.ninja.coreIoApi.ninjaLibrary.libs) {