You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2012/04/22 09:15:30 UTC

[1/2] git commit: [CB-512] proper reference to cordova version in deviceproperties on iOS

Updated Branches:
  refs/heads/master 194c7743b -> 017a94804


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


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/017a9480
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/017a9480
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/017a9480

Branch: refs/heads/master
Commit: 017a948047e355ae0c2cdc8c4188ae57b115528a
Parents: 1b0fd4a
Author: Fil Maj <ma...@gmail.com>
Authored: Sun Apr 22 00:17:22 2012 -0700
Committer: Fil Maj <ma...@gmail.com>
Committed: Sun Apr 22 00:17:22 2012 -0700

----------------------------------------------------------------------
 lib/ios/plugin/ios/device.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/017a9480/lib/ios/plugin/ios/device.js
----------------------------------------------------------------------
diff --git a/lib/ios/plugin/ios/device.js b/lib/ios/plugin/ios/device.js
index 44e42e2..37cba07 100644
--- a/lib/ios/plugin/ios/device.js
+++ b/lib/ios/plugin/ios/device.js
@@ -20,7 +20,7 @@ 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) {
@@ -28,4 +28,4 @@ Device.prototype.setInfo = function(info) {
     }
 };
 
-module.exports = new Device();
\ No newline at end of file
+module.exports = new Device();