This namespace contains all debug functions.
- Source:
Methods
-
(static) CheckDependency(TargetNamespace, Required, RequiredLabel, Silent) → {Boolean}
-
Checks if a required function or namespace is present.
Parameters:
Name Type Description TargetNamespace
String Namespace for which the check is executed. Required
String The name of the function/namespace whose presence is checked. RequiredLabel
String Label for the required item which will be included in the error message. Silent
Boolean Do not issue an alert. - Source:
Returns:
True if the required item was found, false otherwise (an alert and an exception will be issued in that case).- Type
- Boolean
-
(static) Log()
-
Simple logging function. All parameters will be passed to the debug console of Chrome, Firefox, Firebug et al, if present.
- Source:
-
(static) SimulateRTLPage() → {Boolean}
-
Use this function to test your HTML/CSS/JS code against usage in RTL. This function changes all visible texts on a page to Arabic for RTL testing purposes. It also sets the class "RTL" on the body element to cause the layout to switch to RTL.
- Source:
Returns:
Returns undefined.- Type
- Boolean