You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2012/11/19 22:21:33 UTC

js commit: CB-1855: Adding device.model to the Common JS

Updated Branches:
  refs/heads/master 48d5bb1be -> 9204c357b


CB-1855: Adding device.model to the Common JS


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

Branch: refs/heads/master
Commit: 9204c357ba0b4c93ff6f0b114295c12b5cc9224b
Parents: 48d5bb1
Author: Joe Bowser <bo...@apache.org>
Authored: Mon Nov 19 13:21:17 2012 -0800
Committer: Joe Bowser <bo...@apache.org>
Committed: Mon Nov 19 13:21:17 2012 -0800

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/9204c357/lib/common/plugin/device.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/device.js b/lib/common/plugin/device.js
index 905bfe1..a6213ea 100644
--- a/lib/common/plugin/device.js
+++ b/lib/common/plugin/device.js
@@ -38,6 +38,7 @@ function Device() {
     this.name = null;
     this.uuid = null;
     this.cordova = null;
+    this.model = null;
 
     var me = this;
 
@@ -49,6 +50,7 @@ function Device() {
             me.name = info.name;
             me.uuid = info.uuid;
             me.cordova = info.cordova;
+            me.model = info.model;
             channel.onCordovaInfoReady.fire();
         },function(e) {
             me.available = false;