##// END OF EJS Templates
Added tag v1.1.0 for changeset 1a0018655d1c
Added tag v1.1.0 for changeset 1a0018655d1c

File last commit:

r2:8ec37bf1b4d1 default
r64:3f27d1084ced default
Show More
sniff.d.ts
95 lines | 2.4 KiB | video/mp2t | TypeScriptLexer
cin
created typings for basic part of dojo and dijit further work is required to...
r2 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;