diff options
author | Jose Antonio Marquez | 2012-02-05 10:42:58 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-05 10:42:58 -0800 |
commit | 8c530e9291721083ba11746fc5b3da66dc692120 (patch) | |
tree | 937fae004df02bfb3769c1d696cd1109eff108bf /js/io/system/coreioapi.js | |
parent | d1fda420f898965b5dd57de0c8340886cef308a8 (diff) | |
download | ninja-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-x | js/io/system/coreioapi.js | 6 |
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']) { |