isEngineVersion(version)code »
Whether the rendering engine version of the current browser is equal to or
greater than the given version. This implementation differs from
goog.userAgent.isVersion in the following ways:
- in a Firefox extension, tests the engine version through the XUL version
comparator service, because no window.navigator object is available
- in IE, compares the given version to the current documentMode
Parameters
- version
(string|number)
The version number to check.
Returns
boolean
Whether the browser engine version is the same or higher
than the given version.