You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2012/05/01 02:24:10 UTC
js commit: Revert deprecateFunctions to fix CB-560 (CB-298 re-opened)
Updated Branches:
refs/heads/master cb7a4c7a4 -> b2bfa321b
Revert deprecateFunctions to fix CB-560 (CB-298 re-opened)
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/b2bfa321
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/b2bfa321
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/b2bfa321
Branch: refs/heads/master
Commit: b2bfa321b4b9c952d8977baec786996a745c127d
Parents: cb7a4c7
Author: shazron <sh...@gmail.com>
Authored: Mon Apr 30 17:22:59 2012 -0700
Committer: shazron <sh...@gmail.com>
Committed: Mon Apr 30 17:22:59 2012 -0700
----------------------------------------------------------------------
lib/cordova.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/b2bfa321/lib/cordova.js
----------------------------------------------------------------------
diff --git a/lib/cordova.js b/lib/cordova.js
index d3da481..5050f8c 100644
--- a/lib/cordova.js
+++ b/lib/cordova.js
@@ -278,10 +278,10 @@ function deprecateFunctions(obj, objLabel) {
* TODO: remove in 2.0.
*/
if (!window.PhoneGap) {
- window.PhoneGap = deprecateFunctions(cordova, 'PhoneGap');
+ window.PhoneGap = cordova;
}
if (!window.Cordova) {
- window.Cordova = deprecateFunctions(cordova, 'Cordova');
+ window.Cordova = cordova;
}
/**