From 16d996ba0c150101632cef140116b7f68da162f8 Mon Sep 17 00:00:00 2001 From: Mike Sherov Date: Wed, 17 Oct 2012 12:50:12 -0400 Subject: no ticket: remove and enforce unused vars in jshint --- src/css.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/css.js') 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() { -- cgit v1.2.3