From d92f453ca8a521c4a24c991bedf8d4e8ed1223a4 Mon Sep 17 00:00:00 2001 From: Mika Tuupola Date: Sun, 11 Nov 2012 15:20:25 +0200 Subject: [PATCH] Passing document as local variable is slightly faster. Make sure undefined is really undefined. --- jquery.lazyload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.lazyload.js b/jquery.lazyload.js index 308721c9..2d2b0043 100644 --- a/jquery.lazyload.js +++ b/jquery.lazyload.js @@ -12,7 +12,7 @@ * Version: 1.8.2-dev * */ -(function($, window) { +(function($, window, document, undefined) { var $window = $(window); $.fn.lazyload = function(options) {