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

[15/37] git commit: CB-6242 [BlackBerry10] add file:/// prefix for toURI / toURL

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 <bh...@blackberry.com>
Authored: Tue Mar 18 14:10:05 2014 -0400
Committer: Bryan Higgins <bh...@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) {