Skip to content

Commit

Permalink
update to latest Opera and IE
Browse files Browse the repository at this point in the history
  • Loading branch information
chorny committed Jun 9, 2009
1 parent 17f7c32 commit bc41e15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/pushup.js
Expand Up @@ -38,14 +38,14 @@ var Pushup = {
Pushup.conditions = {
IE: (function(agent) {
var version = /MSIE ([\d.]+)/.exec(agent);
return version && parseFloat(version[1]) < 7;
return version && parseFloat(version[1]) < 8;
})(navigator.userAgent),
Firefox: Pushup.Browser.Firefox &&
parseFloat(navigator.userAgent.match(/Firefox[\/\s](\d+)/)[1]) < 3,
Safari: Pushup.Browser.Safari &&
parseFloat(navigator.userAgent.match(/AppleWebKit\/(\d+)/)[1]) < 500,
Opera: Pushup.Browser.Opera && (!window.opera.version ||
parseFloat(window.opera.version()) < 9.5)
parseFloat(window.opera.version()) < 9.6)
};

(function() {
Expand Down

0 comments on commit bc41e15

Please sign in to comment.