diff options
author | Jose Antonio Marquez | 2012-01-30 18:19:00 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-01-30 18:19:00 -0800 |
commit | 3b4291c783c4b8fb07f111a240049069277f3c49 (patch) | |
tree | 71ebcb715ac1d394b9d36822176cc44c60f74294 /js/io/system/fileio.js | |
parent | 2f61dfca4466661e1ea23888675a86b601b58c63 (diff) | |
download | ninja-3b4291c783c4b8fb07f111a240049069277f3c49.tar.gz |
Core API initialization routine
Setting up the core API routine to check for cloud API availability. Also cleaned up template files for IO and set up initial string contents.
Diffstat (limited to 'js/io/system/fileio.js')
-rwxr-xr-x | js/io/system/fileio.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/js/io/system/fileio.js b/js/io/system/fileio.js index b3158a68..38ab05e8 100755 --- a/js/io/system/fileio.js +++ b/js/io/system/fileio.js | |||
@@ -28,7 +28,7 @@ exports.FileIo = Montage.create(Object.prototype, { | |||
28 | enumerable: true, | 28 | enumerable: true, |
29 | value: function(file) { | 29 | value: function(file) { |
30 | //Checking for API to be available | 30 | //Checking for API to be available |
31 | if (!CoreIoApi.isIoServiceActive()) { | 31 | if (!CoreIoApi.cloudAvailable()) { |
32 | //API not available, no IO action taken | 32 | //API not available, no IO action taken |
33 | return null; | 33 | return null; |
34 | } | 34 | } |
@@ -78,6 +78,12 @@ exports.FileIo = Montage.create(Object.prototype, { | |||
78 | value: function() { | 78 | value: function() { |
79 | // | 79 | // |
80 | } | 80 | } |
81 | }, | ||
82 | infoFile: { | ||
83 | enumerable: true, | ||
84 | value: function() { | ||
85 | // | ||
86 | } | ||
81 | } | 87 | } |
82 | 88 | ||
83 | 89 | ||