cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject [15/37] git commit: CB-6242 [BlackBerry10] add file:/// prefix for toURI / toURL
Date Wed, 23 Apr 2014 18:57:11 GMT
CB-6242 [BlackBerry10] add file:/// prefix for toURI / toURL


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/9ec3b649
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/9ec3b649
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/9ec3b649

Branch: refs/heads/master
Commit: 9ec3b64948ee5b939d8be8f9a94721559d9fd039
Parents: b9fd769
Author: Bryan Higgins <bhiggins@blackberry.com>
Authored: Tue Mar 18 14:10:05 2014 -0400
Committer: Bryan Higgins <bhiggins@blackberry.com>
Committed: Tue Mar 18 14:10:05 2014 -0400

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


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/9ec3b649/www/blackberry10/Entry.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/Entry.js b/www/blackberry10/Entry.js
index be5c1e3..7554e06 100644
--- a/www/blackberry10/Entry.js
+++ b/www/blackberry10/Entry.js
@@ -92,7 +92,7 @@ Entry.prototype.copyTo = function(parent, newName, successCallback, errorCallbac
 };
 
 Entry.prototype.toURL = function() {
-    return this.nativeEntry.fullPath; 
+    return "file://" + this.nativeEntry.fullPath; 
 };
 
 Entry.prototype.toURI = function(mimeType) {


Mime
View raw message