diff options
author | Jose Antonio Marquez | 2012-03-23 13:22:42 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-03-23 13:22:42 -0700 |
commit | 7e61ce5aba0c8465595804da21e365baf4d8c15d (patch) | |
tree | 7d1e8601ced65dbaca8adf307ed8820f1f4b9b16 /js/mediators | |
parent | 748a5c55e15809add748a15a87cd730e3fcee4bf (diff) | |
download | ninja-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.js | 2 |
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) { |