You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2013/06/19 02:34:48 UTC
git commit: updated referenes
Updated Branches:
refs/heads/master 54684892e -> 48f8ede73
updated referenes
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/48f8ede7
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/48f8ede7
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/48f8ede7
Branch: refs/heads/master
Commit: 48f8ede7376ea17d528e682540db9d89951f5255
Parents: 5468489
Author: Steven Gill <st...@gmail.com>
Authored: Tue Jun 18 17:34:43 2013 -0700
Committer: Steven Gill <st...@gmail.com>
Committed: Tue Jun 18 17:34:43 2013 -0700
----------------------------------------------------------------------
www/FileTransfer.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/48f8ede7/www/FileTransfer.js
----------------------------------------------------------------------
diff --git a/www/FileTransfer.js b/www/FileTransfer.js
index c909092..31af810 100644
--- a/www/FileTransfer.js
+++ b/www/FileTransfer.js
@@ -21,8 +21,8 @@
var argscheck = require('cordova/argscheck'),
exec = require('cordova/exec'),
- FileTransferError = require('cordova/plugin/FileTransferError'),
- ProgressEvent = require('cordova/plugin/ProgressEvent');
+ FileTransferError = require('org.apache.cordova.core.FileTransfer.FileTransferError'),
+ ProgressEvent = require('org.apache.cordova.core.FileUtils.ProgressEvent');
function newProgressEvent(result) {
var pe = new ProgressEvent();
@@ -175,10 +175,10 @@ FileTransfer.prototype.download = function(source, target, successCallback, erro
} else if (successCallback) {
var entry = null;
if (result.isDirectory) {
- entry = new (require('cordova/plugin/DirectoryEntry'))();
+ entry = new (require('org.apache.cordova.core.FileUtils.DirectoryEntry'))();
}
else if (result.isFile) {
- entry = new (require('cordova/plugin/FileEntry'))();
+ entry = new (require('org.apache.cordova.core.FileUtils.FileEntry'))();
}
entry.isDirectory = result.isDirectory;
entry.isFile = result.isFile;