projectwonder/wonder — pull request #74 by darkv (2011-12-07 09:59:22+00:00)
Title: ERXBasicBrowser patch

This fixes the incorrect browser version detection for Firefox (prior it would use the Mozilla version resulting in Firefox 3 ... 8 to map to version 5) and adds a new method to return the major version as Integer. This enables to make tests like

browser.isIE() && browser.majorVersion() < 9

instead of

browser.isIE() && (browser.isVersion8() || browser.isVersion7() || ...)