Merge pull request #11309 from kant2002/patch-5

Add property available
This commit is contained in:
Andy
2016-09-19 07:33:34 -07:00
committed by GitHub
+3 -1
View File
@@ -13,6 +13,8 @@
interface Device {
/** Get the version of Cordova running on the device. */
cordova: string;
/** Indicates that Cordova initialize successfully. */
available: boolean;
/**
* The device.model returns the name of the device's model or product. The value is set
* by the device manufacturer and may be different across versions of the same product.
@@ -31,4 +33,4 @@ interface Device {
/** Get the device hardware serial number. */
serial: string;}
declare var device: Device;
declare var device: Device;