diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2012-10-17 12:50:12 -0400 |
---|---|---|
committer | Mike Sherov <mike.sherov@gmail.com> | 2012-10-17 12:52:12 -0400 |
commit | 16d996ba0c150101632cef140116b7f68da162f8 (patch) | |
tree | 81dc420726022f5a34477d7a9e7fb582881a43af /src/css.js | |
parent | 3bfd15878442ed97a7c768a09ccd51571d4e1d47 (diff) | |
download | jquery-16d996ba0c150101632cef140116b7f68da162f8.tar.gz jquery-16d996ba0c150101632cef140116b7f68da162f8.zip |
no ticket: remove and enforce unused vars in jshint
Diffstat (limited to 'src/css.js')
-rw-r--r-- | src/css.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/css.js b/src/css.js index 6f5456315..ad42a048a 100644 --- a/src/css.js +++ b/src/css.js @@ -18,9 +18,7 @@ var curCSS, iframe, iframeDoc, }, cssExpand = [ "Top", "Right", "Bottom", "Left" ], - cssPrefixes = [ "Webkit", "O", "Moz", "ms" ], - - eventsToggle = jQuery.fn.toggle; + cssPrefixes = [ "Webkit", "O", "Moz", "ms" ]; // return a css property mapped to a potentially vendor prefixed property function vendorPropName( style, name ) { @@ -113,7 +111,7 @@ jQuery.fn.extend({ hide: function() { return showHide( this ); }, - toggle: function( state, fn2 ) { + toggle: function( state ) { var bool = typeof state === "boolean"; return this.each(function() { |