Permalink
Browse files

[CB-512] proper reference to cordova version in deviceproperties on iOS

  • Loading branch information...
1 parent 1b0fd4a commit 017a948047e355ae0c2cdc8c4188ae57b115528a @filmaj committed Apr 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/ios/plugin/ios/device.js
@@ -20,12 +20,12 @@ Device.prototype.setInfo = function(info) {
this.platform = info.platform;
this.version = info.version;
this.name = info.name;
- this.cordova = info.gap;
+ this.cordova = info.cordova;
this.uuid = info.uuid;
channel.onCordovaInfoReady.fire();
} catch(e) {
utils.alert('Error during device info setting in cordova/plugin/ios/device!');
}
};
-module.exports = new Device();
+module.exports = new Device();

0 comments on commit 017a948

Please sign in to comment.