From 8c530e9291721083ba11746fc5b3da66dc692120 Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Sun, 5 Feb 2012 10:42:58 -0800 Subject: Setting up IO Ninja Library This class will be used to copy locally the library needed for Ninja's IO. --- js/io/system/coreioapi.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'js/io/system/coreioapi.js') 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, { //////////////////////////////////////////////////////////// //Getting reference of chrome file system API this.chromeFileSystem = ChromeApi; + //Sending size in MBs for file system storage + if (this.chromeFileSystem.init(20)) { + //Available + } else { + //Not available + } //////////////////////////////////////////////////////////// //Checking for local storage of URL for IO if (window.localStorage['ioRootUrl']) { -- cgit v1.2.3