cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject js commit: CB-1855: Adding device.model to the Common JS
Date Mon, 19 Nov 2012 21:21:33 GMT
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 <bowserj@apache.org>
Authored: Mon Nov 19 13:21:17 2012 -0800
Committer: Joe Bowser <bowserj@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;


Mime
View raw message