API Docs for:
Show:

BrowserID Class

Defined in: css_notify.js:11
Module: CSSNotification

Class for identifying the family of javascript engine interpreting the code.

Typical Usage

var browser_id = new BrowserID();

// getId() outputs a string identifier such as "gecko", "trident" or "webkit"
console.log("The javascript engine is from the following family: " + browser_id.getId() );

Constructor

BrowserID

()

Defined in css_notify.js:11

Item Index

Methods

Methods

()

Asserts rough true-ish result.

Example:

ok( "asdfasdf".length > 5, "There must be at least 5 chars" );

()

Assert that the first two arguments are equal, with an optional message. Prints out both actual and expected values.

Example:

equal( format( "Received {0} bytes.", 2), "Received 2 bytes.", "format() replaces {0} with next argument" );