mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04: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:
@@ -464,6 +464,8 @@ jQuery.extend({
|
||||
return true;
|
||||
},
|
||||
|
||||
noop: function() {},
|
||||
|
||||
// Evalulates a script in a global context
|
||||
globalEval: function( data ) {
|
||||
if ( data && rnotwhite.test(data) ) {
|
||||
|
||||
Reference in New Issue
Block a user