You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/02/13 22:12:25 UTC

ios commit: [CB-2433] Deprecation notice for window.Settings

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 <ag...@chromium.org>
Authored: Wed Feb 13 16:11:46 2013 -0500
Committer: Andrew Grieve <ag...@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];
     }