cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject ios commit: [CB-2433] Deprecation notice for window.Settings
Date Wed, 13 Feb 2013 21:12:25 GMT
Updated Branches:
  refs/heads/master 4001ae13f -> 81e3332ad


[CB-2433] Deprecation notice for window.Settings


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/81e3332a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/81e3332a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/81e3332a

Branch: refs/heads/master
Commit: 81e3332adaa6524da20099a68ed7625c5884cf89
Parents: 4001ae1
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Wed Feb 13 16:11:46 2013 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Wed Feb 13 16:11:46 2013 -0500

----------------------------------------------------------------------
 CordovaLib/Classes/CDVDevice.m |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/81e3332a/CordovaLib/Classes/CDVDevice.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVDevice.m b/CordovaLib/Classes/CDVDevice.m
index 46195e8..cc7ad89 100644
--- a/CordovaLib/Classes/CDVDevice.m
+++ b/CordovaLib/Classes/CDVDevice.m
@@ -58,6 +58,7 @@
     NSDictionary* temp = [CDVViewController getBundlePlist:@"Settings"];
 
     if ([temp respondsToSelector:@selector(JSONString)]) {
+        NSLog(@"Deprecation warning: window.Setting will be removed Aug 2013. Refer to https://issues.apache.org/jira/browse/CB-2433");
         NSString* js = [NSString stringWithFormat:@"window.Settings = %@;", [temp JSONString]];
         [self.commandDelegate evalJs:js];
     }


Mime
View raw message