Class Index | File Index

Classes


Namespace Pot.System


Defined in: <potlite.js>.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Execution environment.
Field Summary
Field Attributes Field Name and Description
<static>  
Pot.System.currentWindow
Current DOM Window object if exists (i.e.
 
Whether the environment has ActiveXObject.
 
Whether the environment has Components (XPCOM).
<static>  
Whether the environment supports the built-in "Array.prototype.forEach".
<static>  
Whether the environment supports the built-in "Array.prototype.indexOf".
<static>  
Whether the environment supports the built-in "Array.prototype.lastIndexOf".
<static>  
Pot.System.isBuiltinObjectKeys
Whether the environment supports the built-in "Object.keys".
 
Whether the environment is running on Chrome extension.
 
Whether the environment is running on Firefox extension.
 
Whether the environment is running on Greasemonkey.
 
Whether the environment is running on Jetpack.
 
Whether the environment is running on Node.js.
 
Whether the environment is running on non-browser.
 
Whether the environment is running on non browser-extension.
 
Whether the environment is running on Safari extension.
 
Whether the user agent can to wait as synchronously.
 
Whether the environment is running on web browser.
 
Whether the environment can use "yield" operator.
Namespace Detail
Pot.System
Execution environment.
  if (Pot.System.isWebBrowser) {
    document.write('on Web Browser');
  }
Field Detail
<static> {Object} Pot.System.currentWindow
Current DOM Window object if exists (i.e., on web-browser).

{Boolean} hasActiveXObject
Whether the environment has ActiveXObject.

{Boolean} hasComponents
Whether the environment has Components (XPCOM).

<static> {Boolean} Pot.System.isBuiltinArrayForEach
Whether the environment supports the built-in "Array.prototype.forEach".

<static> {Boolean} Pot.System.isBuiltinArrayIndexOf
Whether the environment supports the built-in "Array.prototype.indexOf".

<static> {Boolean} Pot.System.isBuiltinArrayLastIndexOf
Whether the environment supports the built-in "Array.prototype.lastIndexOf".

<static> {Boolean} Pot.System.isBuiltinObjectKeys
Whether the environment supports the built-in "Object.keys".

{Boolean} isChromeExtension
Whether the environment is running on Chrome extension.

{Boolean} isFirefoxExtension
Whether the environment is running on Firefox extension.

{Boolean} isGreasemonkey
Whether the environment is running on Greasemonkey.

{Boolean} isJetpack
Whether the environment is running on Jetpack.

{Boolean} isNodeJS
Whether the environment is running on Node.js.

{Boolean} isNonBrowser
Whether the environment is running on non-browser.

{Boolean} isNotExtension
Whether the environment is running on non browser-extension.

{Boolean} isSafariExtension
Whether the environment is running on Safari extension.

{Boolean} isWaitable
Whether the user agent can to wait as synchronously.

{Boolean} isWebBrowser
Whether the environment is running on web browser.

{Boolean} isYieldable
Whether the environment can use "yield" operator.

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Sep 21 2012 19:35:45 GMT+0900 (JST)