You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2014/04/19 01:23:46 UTC

git commit: Update File.js for typo: lastModifiedData --> lastModifiedDate (closes #38)

Repository: cordova-plugin-file
Updated Branches:
  refs/heads/dev abcaf7007 -> 757e692ff


Update File.js for typo: lastModifiedData --> lastModifiedDate (closes #38)

Signed-off-by: Shazron Abdullah <sh...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/757e692f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/757e692f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/757e692f

Branch: refs/heads/dev
Commit: 757e692ff02cc21a94452af414e33feda9a09157
Parents: abcaf70
Author: DanielFreiburger <da...@europapark.de>
Authored: Thu Apr 10 13:56:38 2014 +0200
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Fri Apr 18 16:23:13 2014 -0700

----------------------------------------------------------------------
 www/File.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/757e692f/www/File.js
----------------------------------------------------------------------
diff --git a/www/File.js b/www/File.js
index a43108e..d080315 100644
--- a/www/File.js
+++ b/www/File.js
@@ -67,7 +67,7 @@ File.prototype.slice = function(start, end) {
         }
     }
 
-    var newFile = new File(this.name, this.localURL, this.type, this.lastModifiedData, this.size);
+    var newFile = new File(this.name, this.localURL, this.type, this.lastModifiedDate, this.size);
     newFile.start = this.start + newStart;
     newFile.end = this.start + newEnd;
     return newFile;