diff options
Diffstat (limited to 'iPhone/CordovaLib/Classes/CDVDevice.m')
-rwxr-xr-x | iPhone/CordovaLib/Classes/CDVDevice.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/iPhone/CordovaLib/Classes/CDVDevice.m b/iPhone/CordovaLib/Classes/CDVDevice.m index 3fa4bb3..cc7ad89 100755 --- a/iPhone/CordovaLib/Classes/CDVDevice.m +++ b/iPhone/CordovaLib/Classes/CDVDevice.m @@ -58,7 +58,8 @@ NSDictionary* temp = [CDVViewController getBundlePlist:@"Settings"]; if ([temp respondsToSelector:@selector(JSONString)]) { - NSString* js = [NSString stringWithFormat:@"window.Settings = %@;", [temp cdvjk_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]; } |