cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [04/26] js commit: [Tizen] - Device.js
Date Fri, 17 May 2013 17:53:22 GMT
[Tizen] - Device.js

add model field
(name is not yet removed)


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

Branch: refs/heads/3.0.0
Commit: b23bc1cd770a6be6c9d0a8560d6b839408a974c9
Parents: c524f9f
Author: pplaquette <pplaquette@apache.org>
Authored: Tue Apr 9 14:56:32 2013 +0200
Committer: pplaquette <pplaquette@apache.org>
Committed: Fri Apr 19 11:07:13 2013 +0200

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


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/b23bc1cd/lib/tizen/plugin/tizen/Device.js
----------------------------------------------------------------------
diff --git a/lib/tizen/plugin/tizen/Device.js b/lib/tizen/plugin/tizen/Device.js
index 8e5f83a..71408ef 100644
--- a/lib/tizen/plugin/tizen/Device.js
+++ b/lib/tizen/plugin/tizen/Device.js
@@ -29,6 +29,7 @@ function Device() {
     this.version = null;
     this.uuid = null;
     this.name = null;
+    this.model = null;
     this.cordova = "2.5.0";
     this.platform = "Tizen";
 
@@ -36,6 +37,7 @@ function Device() {
 
     function onSuccessCallback(sysInfoProp) {
         me.name = sysInfoProp.model;
+        me.model = sysInfoProp.model;
         me.uuid = sysInfoProp.imei;
         me.version = sysInfoProp.version;
         channel.onCordovaInfoReady.fire();


Mime
View raw message