- Source:
Methods
(static) askModernizr(property) → {boolean}
- Source:
Local function to ask Modernizr if a property is supported.
Parameters:
Name | Type | Description |
---|---|---|
property |
string | The property to test. |
Returns:
True if the env supports the input feature.
- Type
- boolean
(static) check()
- Source:
Browser checks to see if it can run dwv. Throws an error if not. Silently replaces basic functions.
(static) hasClampedArray() → {boolean}
- Source:
Browser check for clamped array. Missing in:
- Safari 5.1.7 for Windows
- PhantomJS 1.9.20 (on Travis).
Returns:
True if the env supports the feature.
- Type
- boolean
(static) hasFileApi() → {boolean}
- Source:
Browser check for the FileAPI. Assume support for Safari5.
Returns:
True if the env supports the feature.
- Type
- boolean
(static) hasFloat64Array() → {boolean}
- Source:
Browser check for Float64Array array. Missing in PhantomJS 1.9.20 (on Travis).
Returns:
True if the env supports the feature.
- Type
- boolean
(static) hasInputColor() → {boolean}
- Source:
Browser check for input with type='color'. Missing in IE and Safari.
Returns:
True if the env supports the feature.
- Type
- boolean
(static) hasInputDirectory() → {boolean}
- Source:
Browser check for input with type='files' and webkitdirectory flag. Missing in IE and Safari.
Returns:
True if the env supports the feature.
- Type
- boolean
(static) hasTypedArray() → {boolean}
- Source:
Browser check for typed array.
Returns:
True if the env supports the feature.
- Type
- boolean
(static) hasTypedArraySlice() → {boolean}
- Source:
Browser check for typed array slice method. Missing in Internet Explorer 11.
Returns:
True if the env supports the feature.
- Type
- boolean
(static) hasXmlHttpRequest() → {boolean}
- Source:
Browser check for the XMLHttpRequest.
Returns:
True if the env supports the feature.
- Type
- boolean