aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
diff options
context:
space:
mode:
authorSindre Sorhus <sindresorhus@gmail.com>2012-03-13 14:39:40 +0100
committerDave Methvin <dave.methvin@gmail.com>2012-04-04 23:22:15 -0400
commitd5ee856a44eff3f07162cf7eb1181b58d3a1c6ff (patch)
tree2cc23b6e9be9a455af92e1a0850cb3f30a75fc36 /src/event.js
parent22ad8723ce07569a9b039c7901f29e86ad14523c (diff)
downloadjquery-d5ee856a44eff3f07162cf7eb1181b58d3a1c6ff.tar.gz
jquery-d5ee856a44eff3f07162cf7eb1181b58d3a1c6ff.zip
Remove moot second argument from `slice.call()`
The zeroes were added to fix http://bugs.jquery.com/ticket/4942 but those browsers are no longer supported.
Diffstat (limited to 'src/event.js')
-rw-r--r--src/event.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.js b/src/event.js
index ad3f3e750..63bfb3c98 100644
--- a/src/event.js
+++ b/src/event.js
@@ -386,7 +386,7 @@ jQuery.event = {
var handlers = ( (jQuery._data( this, "events" ) || {} )[ event.type ] || []),
delegateCount = handlers.delegateCount,
- args = [].slice.call( arguments, 0 ),
+ args = [].slice.call( arguments ),
run_all = !event.exclusive && !event.namespace,
special = jQuery.event.special[ event.type ] || {},
handlerQueue = [],