cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tim...@apache.org
Subject js commit: [CB-1853] - adding in device.model
Date Mon, 03 Dec 2012 21:12:51 GMT
Updated Branches:
  refs/heads/master 8186a0459 -> 46c89d142


[CB-1853] - adding in device.model


Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/46c89d14
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/46c89d14
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/46c89d14

Branch: refs/heads/master
Commit: 46c89d142aadce4cf8139fc41f746e1ba8ef9b26
Parents: 8186a04
Author: Tim Kim <timk@adobe.com>
Authored: Mon Dec 3 13:12:44 2012 -0800
Committer: Tim Kim <timk@adobe.com>
Committed: Mon Dec 3 13:12:44 2012 -0800

----------------------------------------------------------------------
 lib/blackberry/plugin/air/device.js |    3 ++-
 lib/blackberry/plugin/qnx/device.js |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/46c89d14/lib/blackberry/plugin/air/device.js
----------------------------------------------------------------------
diff --git a/lib/blackberry/plugin/air/device.js b/lib/blackberry/plugin/air/device.js
index 902ef1f..16c3636 100644
--- a/lib/blackberry/plugin/air/device.js
+++ b/lib/blackberry/plugin/air/device.js
@@ -32,7 +32,8 @@ module.exports = {
                 win({
                     platform: "BlackBerry",
                     version: info.version,
-                    name: "PlayBook",
+                    model: "PlayBook",
+                    name: "PlayBook", // deprecated: please use device.model
                     uuid: info.uuid,
                     cordova: "2.3.0rc1"
                 });

http://git-wip-us.apache.org/repos/asf/cordova-js/blob/46c89d14/lib/blackberry/plugin/qnx/device.js
----------------------------------------------------------------------
diff --git a/lib/blackberry/plugin/qnx/device.js b/lib/blackberry/plugin/qnx/device.js
index 973ff09..4330442 100644
--- a/lib/blackberry/plugin/qnx/device.js
+++ b/lib/blackberry/plugin/qnx/device.js
@@ -30,7 +30,8 @@ module.exports = {
         win({
             platform: "BlackBerry",
             version: blackberry.system.softwareVersion,
-            name: "Dev Alpha",
+            model: "Dev Alpha",
+            name: "Dev Alpha", // deprecated: please use device.model
             uuid: blackberry.identity.uuid,
             cordova: "2.3.0rc1"
         });


Mime
View raw message