aboutsummaryrefslogtreecommitdiff
path: root/js/io/system/coreioapi.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-05 10:42:58 -0800
committerJose Antonio Marquez2012-02-05 10:42:58 -0800
commit8c530e9291721083ba11746fc5b3da66dc692120 (patch)
tree937fae004df02bfb3769c1d696cd1109eff108bf /js/io/system/coreioapi.js
parentd1fda420f898965b5dd57de0c8340886cef308a8 (diff)
downloadninja-8c530e9291721083ba11746fc5b3da66dc692120.tar.gz
Setting up IO Ninja Library
This class will be used to copy locally the library needed for Ninja's IO.
Diffstat (limited to 'js/io/system/coreioapi.js')
-rwxr-xr-xjs/io/system/coreioapi.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/io/system/coreioapi.js b/js/io/system/coreioapi.js
index c34e0736..73d9fa76 100755
--- a/js/io/system/coreioapi.js
+++ b/js/io/system/coreioapi.js
@@ -28,6 +28,12 @@ exports.CoreIoApi = Montage.create(Component, {
28 //////////////////////////////////////////////////////////// 28 ////////////////////////////////////////////////////////////
29 //Getting reference of chrome file system API 29 //Getting reference of chrome file system API
30 this.chromeFileSystem = ChromeApi; 30 this.chromeFileSystem = ChromeApi;
31 //Sending size in MBs for file system storage
32 if (this.chromeFileSystem.init(20)) {
33 //Available
34 } else {
35 //Not available
36 }
31 //////////////////////////////////////////////////////////// 37 ////////////////////////////////////////////////////////////
32 //Checking for local storage of URL for IO 38 //Checking for local storage of URL for IO
33 if (window.localStorage['ioRootUrl']) { 39 if (window.localStorage['ioRootUrl']) {