Tighten up device

This commit is contained in:
Max Lynch
2015-09-14 14:36:14 -05:00
parent a53330cd31
commit 26394ebfa2
2 changed files with 12 additions and 5 deletions

View File

@@ -20,7 +20,13 @@ export class Device {
return this.ifPlugin(window.device, () => {
return device;
}, () => {
return {}
return {
name: Device.getName(),
model: Device.getModel(),
platform: Device.getPlatform(),
uuid: Device.getUUID(),
version: Device.getVersion()
}
});
}