From 3b4291c783c4b8fb07f111a240049069277f3c49 Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Mon, 30 Jan 2012 18:19:00 -0800 Subject: 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. --- js/io/system/fileio.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'js/io/system/fileio.js') 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, { enumerable: true, value: function(file) { //Checking for API to be available - if (!CoreIoApi.isIoServiceActive()) { + if (!CoreIoApi.cloudAvailable()) { //API not available, no IO action taken return null; } @@ -78,6 +78,12 @@ exports.FileIo = Montage.create(Object.prototype, { value: function() { // } + }, + infoFile: { + enumerable: true, + value: function() { + // + } } -- cgit v1.2.3