diff options
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']) { |