aboutsummaryrefslogtreecommitdiffstats
path: root/src/css.js
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2012-10-17 12:50:12 -0400
committerMike Sherov <mike.sherov@gmail.com>2012-10-17 12:52:12 -0400
commit16d996ba0c150101632cef140116b7f68da162f8 (patch)
tree81dc420726022f5a34477d7a9e7fb582881a43af /src/css.js
parent3bfd15878442ed97a7c768a09ccd51571d4e1d47 (diff)
downloadjquery-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.js6
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() {