toURI calls toURL, toURI is DEPRECATED
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/97be04f9 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/97be04f9 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/97be04f9 Branch: refs/heads/master Commit: 97be04f98d622e79b73fe5883dfa024e8d26e1e0 Parents: 56051d5 Author: Jesse MacFadyen <purplecabb...@gmail.com> Authored: Tue May 22 12:32:07 2012 -0700 Committer: Jesse MacFadyen <purplecabb...@gmail.com> Committed: Tue May 22 12:32:07 2012 -0700 ---------------------------------------------------------------------- lib/common/plugin/Entry.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/97be04f9/lib/common/plugin/Entry.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/Entry.js b/lib/common/plugin/Entry.js index 444f1f7..d0e4aba 100644 --- a/lib/common/plugin/Entry.js +++ b/lib/common/plugin/Entry.js @@ -179,7 +179,7 @@ Entry.prototype.toURL = function() { Entry.prototype.toURI = function(mimeType) { console.log("DEPRECATED: Update your code to use 'toURL'"); // fullPath attribute contains the full URI - return this.fullPath; + return this.toURL(); }; /**