aboutsummaryrefslogtreecommitdiff
path: root/js/io/system/fileio.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-02 23:55:33 -0800
committerJose Antonio Marquez2012-02-02 23:55:33 -0800
commit8e06b63e5eab5558823f4923e20a832c8b36cbe2 (patch)
treeb386ccc6226c6bd35790a2b702bd369627c2fc22 /js/io/system/fileio.js
parent9b5ad78b393e87d84e79abe0abd0c96a685e5962 (diff)
downloadninja-8e06b63e5eab5558823f4923e20a832c8b36cbe2.tar.gz
Chrome FileSystem API Testing
Doing benchmark testing of the native HTML5 FileSystem API available in Chrome. Need to run testing of local XHR requests and also getting files from packaged app.
Diffstat (limited to 'js/io/system/fileio.js')
-rwxr-xr-xjs/io/system/fileio.js15
1 files changed, 12 insertions, 3 deletions
diff --git a/js/io/system/fileio.js b/js/io/system/fileio.js
index f40aa96b..4ab98606 100755
--- a/js/io/system/fileio.js
+++ b/js/io/system/fileio.js
@@ -3,6 +3,7 @@ This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> 3No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
4(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. 4(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5</copyright> */ 5</copyright> */
6
6/* ///////////////////////////////////////////////////////////////////// 7/* /////////////////////////////////////////////////////////////////////
7//////////////////////////////////////////////////////////////////////// 8////////////////////////////////////////////////////////////////////////
8NOTES: 9NOTES:
@@ -62,6 +63,8 @@ exports.FileIo = Montage.create(Object.prototype, {
62 return status; 63 return status;
63 } 64 }
64 }, 65 },
66 ////////////////////////////////////////////////////////////////////
67 //
65 readFile: { 68 readFile: {
66 enumerable: true, 69 enumerable: true,
67 value: function() { 70 value: function() {
@@ -73,6 +76,8 @@ exports.FileIo = Montage.create(Object.prototype, {
73 // 76 //
74 } 77 }
75 }, 78 },
79 ////////////////////////////////////////////////////////////////////
80 //
76 saveFile: { 81 saveFile: {
77 enumerable: true, 82 enumerable: true,
78 value: function() { 83 value: function() {
@@ -84,6 +89,8 @@ exports.FileIo = Montage.create(Object.prototype, {
84 // 89 //
85 } 90 }
86 }, 91 },
92 ////////////////////////////////////////////////////////////////////
93 //
87 copyFile: { 94 copyFile: {
88 enumerable: true, 95 enumerable: true,
89 value: function() { 96 value: function() {
@@ -95,6 +102,8 @@ exports.FileIo = Montage.create(Object.prototype, {
95 // 102 //
96 } 103 }
97 }, 104 },
105 ////////////////////////////////////////////////////////////////////
106 //
98 infoFile: { 107 infoFile: {
99 enumerable: true, 108 enumerable: true,
100 value: function() { 109 value: function() {
@@ -106,7 +115,8 @@ exports.FileIo = Montage.create(Object.prototype, {
106 // 115 //
107 } 116 }
108 } 117 }
109 118 ////////////////////////////////////////////////////////////////////
119 ////////////////////////////////////////////////////////////////////
110 120
111 121
112 122
@@ -339,8 +349,7 @@ open: {
339 349
340 350
341 351
342 //////////////////////////////////////////////////////////////////// 352
343 ////////////////////////////////////////////////////////////////////
344}); 353});
345//////////////////////////////////////////////////////////////////////// 354////////////////////////////////////////////////////////////////////////
346//////////////////////////////////////////////////////////////////////// \ No newline at end of file 355//////////////////////////////////////////////////////////////////////// \ No newline at end of file