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:
visionmedia 2009-10-23 23:52:38 +08:00 committed by John Resig
parent 81f65ce339
commit 50cf4351a6
2 changed files with 4 additions and 4 deletions

View file

@ -102,7 +102,7 @@ jQuery.fn.extend({
});
// Attach a bunch of functions for handling common AJAX events
jQuery.each( "ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","), function(i,o){
jQuery.each( "ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), function(i,o){
jQuery.fn[o] = function(f){
return this.bind(o, f);
};