diff options
author | Ananya Sen | 2012-02-13 16:19:21 -0800 |
---|---|---|
committer | Ananya Sen | 2012-02-13 16:19:21 -0800 |
commit | b58dafe332fb57210f3d059a518a3d183c222631 (patch) | |
tree | 09fd958b0f7f3f51dc88e613e7764bdfc642b742 /js/io/system/coreioapi.js | |
parent | f3dc624fa464a79fd8e8cec1ddd16ed2109bda23 (diff) | |
parent | f70701db069a10dc5195605fc378a022125b434f (diff) | |
download | ninja-b58dafe332fb57210f3d059a518a3d183c222631.tar.gz |
Merge branch 'FileIO' of github.com:joseeight/ninja-internal into FileIO
Diffstat (limited to 'js/io/system/coreioapi.js')
-rwxr-xr-x | js/io/system/coreioapi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/io/system/coreioapi.js b/js/io/system/coreioapi.js index b19f1e70..614b0850 100755 --- a/js/io/system/coreioapi.js +++ b/js/io/system/coreioapi.js | |||
@@ -450,7 +450,7 @@ window.hack = function (name, type) { | |||
450 | enumerable: false, | 450 | enumerable: false, |
451 | value: function(file) { | 451 | value: function(file) { |
452 | var retValue = { success:null, status:null }; | 452 | var retValue = { success:null, status:null }; |
453 | if(file && file.uri && file.uri.length && file.contents && file.contents.length) { | 453 | if(file && file.uri && file.uri.length && file.contents) { |
454 | try { | 454 | try { |
455 | var serviceURL = this._prepareServiceURL(this.fileServiceURL, file.uri), | 455 | var serviceURL = this._prepareServiceURL(this.fileServiceURL, file.uri), |
456 | xhr = new XMLHttpRequest(); | 456 | xhr = new XMLHttpRequest(); |