summaryrefslogtreecommitdiff
path: root/StoneIsland/plugins/cordova-plugin-device/www/device.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-11-08 12:37:03 -0500
committerJules Laplace <jules@okfoc.us>2016-11-08 12:37:03 -0500
commitef4f212fc1482136dba1e690ec589b315b4a377f (patch)
tree0b7e16d72567fafcfd3e08d7c5c591ad07a63458 /StoneIsland/plugins/cordova-plugin-device/www/device.js
parent5fa81da81260d65113f57a293b6256d334fe8e2d (diff)
build 0.7.0
Diffstat (limited to 'StoneIsland/plugins/cordova-plugin-device/www/device.js')
-rw-r--r--[-rwxr-xr-x]StoneIsland/plugins/cordova-plugin-device/www/device.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/StoneIsland/plugins/cordova-plugin-device/www/device.js b/StoneIsland/plugins/cordova-plugin-device/www/device.js
index b1d0d25d..f7ed19f9 100755..100644
--- a/StoneIsland/plugins/cordova-plugin-device/www/device.js
+++ b/StoneIsland/plugins/cordova-plugin-device/www/device.js
@@ -42,6 +42,8 @@ function Device() {
this.cordova = null;
this.model = null;
this.manufacturer = null;
+ this.isVirtual = null;
+ this.serial = null;
var me = this;
@@ -56,7 +58,9 @@ function Device() {
me.uuid = info.uuid;
me.cordova = buildLabel;
me.model = info.model;
+ me.isVirtual = info.isVirtual;
me.manufacturer = info.manufacturer || 'unknown';
+ me.serial = info.serial || 'unknown';
channel.onCordovaInfoReady.fire();
},function(e) {
me.available = false;