You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by br...@apache.org on 2013/01/08 00:10:47 UTC

[3/4] js commit: Use the real size for slicing.

Use the real size for slicing.


Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/c7e7cea6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/c7e7cea6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/c7e7cea6

Branch: refs/heads/master
Commit: c7e7cea6522c06f348d91d1a6293df864b3c3934
Parents: 190046b
Author: Braden Shepherdson <br...@chromium.org>
Authored: Mon Jan 7 18:09:36 2013 -0500
Committer: Braden Shepherdson <br...@chromium.org>
Committed: Mon Jan 7 18:09:36 2013 -0500

----------------------------------------------------------------------
 lib/common/plugin/File.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/c7e7cea6/lib/common/plugin/File.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/File.js b/lib/common/plugin/File.js
index 74b602f..9387b51 100644
--- a/lib/common/plugin/File.js
+++ b/lib/common/plugin/File.js
@@ -37,7 +37,7 @@ var File = function(name, fullPath, type, lastModifiedDate, size){
 
     // These store the absolute start and end for slicing the file.
     this.start = 0;
-    this.end = size;
+    this.end = this.size;
 };
 
 /**