Consistant splits using " " instead of ","
This was used in several other areas, and IMO is easier to read and since nothing is multi-word then we misewell use " "
This commit is contained in:
parent
81f65ce339
commit
50cf4351a6
2 changed files with 4 additions and 4 deletions
|
@ -854,9 +854,9 @@ function bindReady() {
|
|||
jQuery.event.add( window, "load", jQuery.ready );
|
||||
}
|
||||
|
||||
jQuery.each( ("blur,focus,load,resize,scroll,unload,click,dblclick," +
|
||||
"mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave," +
|
||||
"change,select,submit,keydown,keypress,keyup,error").split(","), function( i, name ) {
|
||||
jQuery.each( ("blur focus load resize scroll unload click dblclick " +
|
||||
"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
|
||||
"change select submit keydown keypress keyup error").split(" "), function( i, name ) {
|
||||
|
||||
// Handle event binding
|
||||
jQuery.fn[ name ] = function( fn ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue