aboutsummaryrefslogtreecommitdiff
path: root/js/io/system/fileio.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/io/system/fileio.js')
-rwxr-xr-xjs/io/system/fileio.js15
1 files changed, 14 insertions, 1 deletions
diff --git a/js/io/system/fileio.js b/js/io/system/fileio.js
index 4ab98606..2c49e849 100755
--- a/js/io/system/fileio.js
+++ b/js/io/system/fileio.js
@@ -17,7 +17,7 @@ NOTES:
17//////////////////////////////////////////////////////////////////////// 17////////////////////////////////////////////////////////////////////////
18///////////////////////////////////////////////////////////////////// */ 18///////////////////////////////////////////////////////////////////// */
19// 19//
20var Montage = require("montage/core/core").Montage; 20var Montage = require("montage/core/core").Montage;
21//////////////////////////////////////////////////////////////////////// 21////////////////////////////////////////////////////////////////////////
22//Exporting as File I/O 22//Exporting as File I/O
23exports.FileIo = Montage.create(Object.prototype, { 23exports.FileIo = Montage.create(Object.prototype, {
@@ -91,6 +91,19 @@ exports.FileIo = Montage.create(Object.prototype, {
91 }, 91 },
92 //////////////////////////////////////////////////////////////////// 92 ////////////////////////////////////////////////////////////////////
93 // 93 //
94 deleteFile: {
95 enumerable: true,
96 value: function() {
97 //Checking for API to be available
98 if (!this.application.ninja.coreIoApi.cloudAvailable()) {
99 //API not available, no IO action taken
100 return null;
101 }
102 //
103 }
104 },
105 ////////////////////////////////////////////////////////////////////
106 //
94 copyFile: { 107 copyFile: {
95 enumerable: true, 108 enumerable: true,
96 value: function() { 109 value: function() {