You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by be...@apache.org on 2012/04/05 19:29:02 UTC

git commit: Fixes CB-447 - need iOS device specific version of Entry.toURI()

Updated Branches:
  refs/heads/master 51419a695 -> 4049fa200


Fixes CB-447 - need iOS device specific version of Entry.toURI()


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

Branch: refs/heads/master
Commit: 4049fa200881b9e6995fb2d5e82a3a4805290c62
Parents: 51419a6
Author: Becky Gibson <be...@apache.org>
Authored: Thu Apr 5 13:27:17 2012 -0400
Committer: Becky Gibson <be...@apache.org>
Committed: Thu Apr 5 13:27:17 2012 -0400

----------------------------------------------------------------------
 lib/ios/plugin/ios/Entry.js |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/4049fa20/lib/ios/plugin/ios/Entry.js
----------------------------------------------------------------------
diff --git a/lib/ios/plugin/ios/Entry.js b/lib/ios/plugin/ios/Entry.js
index 230da8a..1be783a 100644
--- a/lib/ios/plugin/ios/Entry.js
+++ b/lib/ios/plugin/ios/Entry.js
@@ -3,5 +3,9 @@ module.exports = {
         // TODO: refactor path in a cross-platform way so we can eliminate 
         // these kinds of platform-specific hacks.
         return "file://localhost" + this.fullPath;
+    },
+    toURI: function() {
+    	console.log("DEPRECATED: Update your code to use 'toURL'");
+    	return "file://localhost" + this.fullPath;
     }
-}
+};