diff options
author | Jose Antonio Marquez | 2012-05-21 23:44:11 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-05-21 23:44:11 -0700 |
commit | 0fbece034966094adf750f8be7148b503e801709 (patch) | |
tree | 09f617355a17780937a006099718019095216dba /js/mediators | |
parent | 11a5be59ff80e0672e9ecf36679be28effb7696c (diff) | |
download | ninja-0fbece034966094adf750f8be7148b503e801709.tar.gz |
Fixing localization bug with webgl external data
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 bbb78a8b..e04670fd 100644 --- a/js/mediators/io-mediator.js +++ b/js/mediators/io-mediator.js | |||
@@ -583,7 +583,7 @@ exports.IoMediator = Montage.create(Component, { | |||
583 | cvsDataFileUrl = this.getNinjaPropUrlRedirect(cvsDataFilePath.split(this.application.ninja.coreIoApi.cloudData.root+'/')[1]), | 583 | cvsDataFileUrl = this.getNinjaPropUrlRedirect(cvsDataFilePath.split(this.application.ninja.coreIoApi.cloudData.root+'/')[1]), |
584 | cvsDataFileCheck = this.application.ninja.coreIoApi.fileExists({uri: cvsDataFilePath}), | 584 | cvsDataFileCheck = this.application.ninja.coreIoApi.fileExists({uri: cvsDataFilePath}), |
585 | //Setting the local path to the JSON file | 585 | //Setting the local path to the JSON file |
586 | webgllibtag.setAttribute('data-ninja-canvas-json', cvsDataFileUrl); | 586 | webgllibtag.setAttribute('data-ninja-canvas-json', this.application.ninja.coreIoApi.rootUrl+'/'+cvsDataFileUrl); |
587 | webgllibtag.setAttribute('data-ninja-canvas-libpath', rdgeDirName); | 587 | webgllibtag.setAttribute('data-ninja-canvas-libpath', rdgeDirName); |
588 | // | 588 | // |
589 | if (cvsDataFileCheck.status === 404 || cvsDataFileCheck.status === 204) { | 589 | if (cvsDataFileCheck.status === 404 || cvsDataFileCheck.status === 204) { |