Skip to content
Browse files

CB-1855: Add device.model to Device API. Adding the test

  • Loading branch information...
1 parent 32ead05 commit 56a11aa35946cb60fb67a87f5d27a1dd87db90bc @infil00p infil00p committed Nov 19, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 index.html
  2. +1 −0 main.js
View
1 index.html
@@ -38,6 +38,7 @@
<h4>Version: <span id="version"> </span></h4>
<h4>UUID: <span id="uuid"> </span></h4>
<h4>Name: <span id="name"> </span></h4>
+ <h4>Model: <span id="model"> </span></h4>
<h4>Width: <span id="width"> </span>, Height: <span id="height">
</span>, Color Depth: <span id="colorDepth"></span></h4>
</div>
View
1 main.js
@@ -24,6 +24,7 @@ var deviceInfo = function() {
document.getElementById("version").innerHTML = device.version;
document.getElementById("uuid").innerHTML = device.uuid;
document.getElementById("name").innerHTML = device.name;
+ document.getElementById("model").innerHTML = device.model;
document.getElementById("width").innerHTML = screen.width;
document.getElementById("height").innerHTML = screen.height;
document.getElementById("colorDepth").innerHTML = screen.colorDepth;

0 comments on commit 56a11aa

Please sign in to comment.
Something went wrong with that request. Please try again.