Skip to content

Commit

Permalink
Passing document as local variable is slightly faster.
Browse files Browse the repository at this point in the history
Make sure undefined is really undefined.
  • Loading branch information
tuupola committed Nov 11, 2012
1 parent c8386bd commit d92f453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.lazyload.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Version: 1.8.2-dev
*
*/
(function($, window) {
(function($, window, document, undefined) {
var $window = $(window);

$.fn.lazyload = function(options) {
Expand Down

0 comments on commit d92f453

Please sign in to comment.