Skip to content

Commit

Permalink
Fixes #1059 - Add Browser.exec to the Browser Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
arian authored and cpojer committed Nov 9, 2010
1 parent 73d9d4a commit 982d03f
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions Docs/Browser/Browser.md
Expand Up @@ -4,19 +4,14 @@ Object: Browser {#Browser}
Some browser properties are attached to the Browser Object for browser and platform detection.

Browser.Features {#Browser:Browser-Features}
------------------------------------
--------------------------------------------

* Browser.Features.xpath - (*boolean*) True if the browser supports DOM queries using XPath.
* Browser.Features.air - (*boolean*) True if the browser supports AIR.
* Browser.Features.query - (*boolean*) True if the browser supports querySelectorAll.
* Browser.Features.json - (*boolean*) True if the browser has a native JSON object.
* Browser.Features.xhr - (*boolean*) True if the browser supports native XMLHTTP object.

Browser.Request {#Browser:Browser-Request}
------------------------------------

* Browser.Request - (*object*) The XMLHTTP object or equivalent.

Browser.name {#Browser:Browser-name}
------------------------------------

Expand Down Expand Up @@ -48,12 +43,26 @@ Browser.Platform {#Browser:Browser-Platform}
* Browser.Platform.name - (*string*) The name of the platform.

Browser.Plugins {#Browser:Browser-Plugins}
--------------------------------------------
------------------------------------------

* Browser.Plugins.Flash - (*boolean*) - True if Flash is present.
* Browser.Plugins.Flash.version - (*number*) The major version of the flash plugin installed.
* Browser.Plugins.Flash.build - (*number*) The build version of the flash plugin installed.

Browser.Request {#Browser:Browser-Request}
------------------------------------------

* Browser.Request - (*object*) The XMLHTTP object or equivalent.

Browser.exec {#Browser:Browser-exec}
------------------------------------

Executes the passed in string in the browser context.

### Example:

Browser.exec('alert("Moo!");');

Deprecated {#Deprecated}
------------------------

Expand Down

0 comments on commit 982d03f

Please sign in to comment.