##// END OF EJS Templates
Added tag v1.0.0-rc5 for changeset 5a2c44d8e1f3
Added tag v1.0.0-rc5 for changeset 5a2c44d8e1f3

File last commit:

r2:8ec37bf1b4d1 default
r12:54dba1f82a1b default
Show More
sniff.d.ts
95 lines | 2.4 KiB | video/mp2t | TypeScriptLexer
import dojo = require("./kernel");
declare module "./kernel" {
interface Dojo {
/**
* True if the client is a web-browser
*/
isBrowser: boolean;
/**
* Version as a Number if client is FireFox. undefined otherwise. Corresponds to
* major detected FireFox version (1.5, 2, 3, etc.)
*/
isFF: number;
/**
* Version as a Number if client is MSIE(PC). undefined otherwise. Corresponds to
* major detected IE version (6, 7, 8, etc.)
*/
isIE: number;
/**
* Version as a Number if client is a KHTML browser. undefined otherwise. Corresponds to major
* detected version.
*/
isKhtml: number;
/**
* Version as a Number if client is a WebKit-derived browser (Konqueror,
* Safari, Chrome, etc.). undefined otherwise.
*/
isWebKit: number;
/**
* Version as a Number if client is a Mozilla-based browser (Firefox,
* SeaMonkey). undefined otherwise. Corresponds to major detected version.
*/
isMozilla: number;
/**
* Version as a Number if client is a Mozilla-based browser (Firefox,
* SeaMonkey). undefined otherwise. Corresponds to major detected version.
*/
isMoz: number;
/**
* Version as a Number if client is Opera. undefined otherwise. Corresponds to
* major detected version.
*/
isOpera: number;
/**
* Version as a Number if client is Safari or iPhone. undefined otherwise.
*/
isSafari: number;
/**
* Version as a Number if client is Chrome browser. undefined otherwise.
*/
isChrome: number;
/**
* True if the client runs on Mac
*/
isMac: number;
/**
* Version as a Number if client is iPhone, iPod, or iPad. undefined otherwise.
*/
isIos: number;
/**
* Version as a Number if client is android browser. undefined otherwise.
*/
isAndroid: number;
/**
* True if client is Wii
*/
isWii: boolean;
/**
* Page is in quirks mode.
*/
isQuirks: boolean;
/**
* True if client is Adobe Air
*/
isAir: boolean;
}
}
export = dojo;