Skip to content
Browse files

Adding the variable that somehow was missing in initial commit.

  • Loading branch information...
1 parent 143700d commit ebd173c31e0ac487e41215422db213eb9497b09d @jaspermdegroot jaspermdegroot committed Jun 27, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 js/
1 js/
@@ -12,6 +12,7 @@ var fakeBody = $( "<body>" ).prependTo( "html" ),
fbCSS = fakeBody[ 0 ].style,
vendors = [ "Webkit", "Moz", "O" ],
webos = "palmGetResource" in window, //only used to rule out scrollTop
+ opera = window.opera,
operamini = window.operamini && ({}) window.operamini ) === "[object OperaMini]",
bb = window.blackberry; //only used to rule out box shadow, as it's filled opaque on BB

2 comments on commit ebd173c



Anything defined on window is available globally so the script will run but the linter will yell at you.

jQuery Foundation member


Yeah. That's why I forgot to declare it at first and added it later. Firefox was yelling too.
The idea was to have it all in one commit, but I obviously did something wrong and ended up with 3 (29c654e + f9b7139 + this one).

Please sign in to comment.
Something went wrong with that request. Please try again.