Skip to content

Commit

Permalink
Make sure to properly patch the Zepto object in IE, not any global $ …
Browse files Browse the repository at this point in the history
…object.
  • Loading branch information
madrobby committed Dec 6, 2013
1 parent 5e8b473 commit d9cc719
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ie.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// (c) 2010-2013 Thomas Fuchs
// Zepto.js may be freely distributed under the MIT license.

;(function(){
;(function($){
// __proto__ doesn't exist on IE<11, so redefine
// the Z function to use object extension instead
if (!('__proto__' in {})) {
Expand Down Expand Up @@ -35,4 +35,4 @@
}
}
}
})()
})(Zepto)

0 comments on commit d9cc719

Please sign in to comment.