Added isPhone property from WinJS 2.1

Added WinJS 2.1 isPhone property to support WinJS 2.0 and WinJS 2.1 code
sharing in "Universal" Shared projects.

See http://msdn.microsoft.com/en-us/library/windows/apps/dn607959.aspx.
This commit is contained in:
craigktreasure
2014-06-23 20:26:48 -07:00
parent 060caf0c03
commit e62c50cf7b

5
winjs/winjs.d.ts vendored
View File

@@ -8314,6 +8314,11 @@ declare module WinJS.Utilities {
**/
var hasWinRT: boolean;
/**
* Indicates whether the app is running on Windows Phone.
**/
var isPhone: boolean;
//#endregion Properties
//#region Interfaces