diff options
Diffstat (limited to 'js/io/system/fileio.js')
-rwxr-xr-x | js/io/system/fileio.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/js/io/system/fileio.js b/js/io/system/fileio.js index 355812da..2c49e849 100755 --- a/js/io/system/fileio.js +++ b/js/io/system/fileio.js | |||
@@ -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() { |