API 0.9.5
AppKit/CPCompatibility.j File Reference

Go to the source code of this file.

Functions

function CPBrowserIsEngine (anEngine)
function CPBrowserIsOperatingSystem (anOperatingSystem)
function CPFeatureIsCompatible (aFeature)
 if (typeof window!=="undefined"&&typeof window.navigator!=="undefined") USER_AGENT
else if (USER_AGENT.indexOf("KHTML")!=-1)
 if (typeof document!="undefined")
else if (USER_AGENT.indexOf("AppleWebKit/")!=-1)
else if (USER_AGENT.indexOf("Gecko")!==-1)
 if (USER_AGENT.indexOf("Mac")!==-1)

Variables

 CPCSSRGBAFeature = 1 << 5
 CPGeckoBrowserEngine = 1
 CPHTML5DragAndDropSourceYOffBy1 = 1 << 26
 CPHTMLCanvasFeature = 1 << 6
 CPHTMLContentEditableFeature = 1 << 7
 CPHTMLDragAndDropFeature = 1 << 8
 CPInputTypeCanBeChangedFeature = 1 << 25
 CPInternetExplorerBrowserEngine = 2
 CPJavaScriptCanvasDrawFeature = 1 << 13
 CPJavaScriptCanvasTransformFeature = 1 << 14
 CPJavaScriptClipboardAccessFeature = 1 << 12
 CPJavaScriptClipboardEventsFeature = 1 << 11
 CPJavaScriptInnerTextFeature = 1 << 9
 CPJavaScriptMouseWheelValues_8_15 = 1 << 23
 CPJavaScriptNegativeMouseWheelValues = 1 << 22
 CPJavaScriptRemedialKeySupport = 1 << 16
 CPJavaScriptShadowFeature = 1 << 20
 CPJavaScriptTextContentFeature = 1 << 10
 CPKHTMLBrowserEngine = 3
 CPMacOperatingSystem = 0
 CPOpacityRequiresFilterFeature = 1 << 24
 CPOperaBrowserEngine = 4
 CPOtherOperatingSystem = 2
 CPSOPDisabledFromFileURLs = 1 << 27
 CPUnknownBrowserEngine = 0
 CPVMLFeature = 1 << 15
 CPWebKitBrowserEngine = 5
 CPWindowsOperatingSystem = 1
 OPERATING_SYSTEM = CPOtherOperatingSystem
var PLATFORM_ENGINE = CPUnknownBrowserEngine
var PLATFORM_FEATURES = 0
var USER_AGENT = ""

Function Documentation

function CPBrowserIsEngine ( anEngine  )

Definition at line 193 of file CPCompatibility.j.

function CPBrowserIsOperatingSystem ( anOperatingSystem  )

Definition at line 198 of file CPCompatibility.j.

function CPFeatureIsCompatible ( aFeature  )

Definition at line 188 of file CPCompatibility.j.

else if ( typeof window!  = = "undefined" && typeof window.navigator !== "undefined")

Definition at line 80 of file CPCompatibility.j.

else if ( USER_AGENT.indexOf("KHTML")!  = -1)

Definition at line 141 of file CPCompatibility.j.

if ( typeof document!  = "undefined")

Definition at line 164 of file CPCompatibility.j.

else if ( USER_AGENT.indexOf("AppleWebKit/")!  = -1)

Definition at line 103 of file CPCompatibility.j.

else if ( USER_AGENT.indexOf("Gecko")!  = = -1)

Definition at line 147 of file CPCompatibility.j.

if ( USER_AGENT.indexOf("Mac")!  = = -1)

Definition at line 205 of file CPCompatibility.j.


Variable Documentation

CPCSSRGBAFeature = 1 << 5

Definition at line 39 of file CPCompatibility.j.

Definition at line 27 of file CPCompatibility.j.

Definition at line 64 of file CPCompatibility.j.

Definition at line 41 of file CPCompatibility.j.

Definition at line 42 of file CPCompatibility.j.

Definition at line 43 of file CPCompatibility.j.

Definition at line 63 of file CPCompatibility.j.

Definition at line 28 of file CPCompatibility.j.

Definition at line 49 of file CPCompatibility.j.

Definition at line 50 of file CPCompatibility.j.

Definition at line 48 of file CPCompatibility.j.

Definition at line 47 of file CPCompatibility.j.

Definition at line 45 of file CPCompatibility.j.

Definition at line 58 of file CPCompatibility.j.

Definition at line 57 of file CPCompatibility.j.

Definition at line 54 of file CPCompatibility.j.

Definition at line 55 of file CPCompatibility.j.

Definition at line 46 of file CPCompatibility.j.

Definition at line 29 of file CPCompatibility.j.

Definition at line 34 of file CPCompatibility.j.

Definition at line 60 of file CPCompatibility.j.

Definition at line 30 of file CPCompatibility.j.

Definition at line 36 of file CPCompatibility.j.

Definition at line 66 of file CPCompatibility.j.

Definition at line 26 of file CPCompatibility.j.

CPVMLFeature = 1 << 15

Definition at line 52 of file CPCompatibility.j.

Definition at line 31 of file CPCompatibility.j.

Definition at line 35 of file CPCompatibility.j.

Definition at line 69 of file CPCompatibility.j.

Definition at line 70 of file CPCompatibility.j.

var USER_AGENT = ""

Definition at line 68 of file CPCompatibility.j.

 All Classes Files Functions Variables Defines