mirror of
https://github.com/jquery/jquery.git
synced 2026-02-12 10:24:56 -05:00
Rather than declaring empty anonymous functions all around, introduce and use a single empty function. Thanks to Matt Kruse for the suggestion.
This commit is contained in:
@@ -427,7 +427,7 @@ jQuery.event = {
|
||||
ready: {
|
||||
// Make sure the ready event is setup
|
||||
setup: jQuery.bindReady,
|
||||
teardown: function() {}
|
||||
teardown: jQuery.noop
|
||||
},
|
||||
|
||||
live: {
|
||||
|
||||
Reference in New Issue
Block a user