Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

Commit

Permalink
Pass document through the Immediately-Invoked Function Expression
Browse files Browse the repository at this point in the history
UglifyJS 747 characters -> 744 characters
  • Loading branch information
FagnerMartinsBrack committed Jul 8, 2012
1 parent e60f7e8 commit 4106abb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jquery.cookie.js
Expand Up @@ -7,7 +7,7 @@
* http://www.opensource.org/licenses/mit-license.php
* http://www.opensource.org/licenses/GPL-2.0
*/
(function($) {
(function($, document) {
$.cookie = function(key, value, options) {

// key and at least value given, set cookie...
Expand Down Expand Up @@ -49,4 +49,4 @@

$.cookie.defaults = {};

})(jQuery);
})(jQuery, document);

0 comments on commit 4106abb

Please sign in to comment.