Class Index | File Index

Classes


Namespace Pot.OS


Defined in: <potlite.js>.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Detect the user operating system.
Field Summary
Field Attributes Field Name and Description
 
Android.
 
BlackBerry.
 
iPad.
 
iPhone.
 
iPod.
 
Linux.
 
mac
Mac.
 
Represents OS as a string.
 
win
Windows.
 
x11
X11.
Namespace Detail
Pot.OS
Detect the user operating system.
  if (Pot.OS.win) {
    debug('OS : ' + Pot.OS.toString());
  }
Field Detail
{Boolean} android
Android.

{Boolean} blackberry
BlackBerry.

{Boolean} ipad
iPad.

{Boolean} iphone
iPhone.

{Boolean} ipod
iPod.

{Boolean} linux
Linux.

{Boolean} mac
Mac.

{Function} toString
Represents OS as a string.

{Boolean} win
Windows.

{Boolean} x11
X11.

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