mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
added semicolons to end of 2 statements (and fixed a misspelled word in comment)
This commit is contained in:
parent
9c1db29a06
commit
3afc6533e2
@ -126,7 +126,7 @@ jQuery.event = {
|
||||
types = types.type;
|
||||
}
|
||||
|
||||
// Handle multiple events seperated by a space
|
||||
// Handle multiple events separated by a space
|
||||
// jQuery(...).unbind("mouseover mouseout", fn);
|
||||
types = types.split(/\s+/);
|
||||
var i = 0;
|
||||
@ -135,7 +135,7 @@ jQuery.event = {
|
||||
var namespaces = type.split(".");
|
||||
type = namespaces.shift();
|
||||
var all = !namespaces.length,
|
||||
cleaned = jQuery.map( namespaces.slice(0).sort() , function(nm){ return nm.replace(/[^\w\s\.\|`]/g, function(ch){return "\\"+ch }) }),
|
||||
cleaned = jQuery.map( namespaces.slice(0).sort() , function(nm){ return nm.replace(/[^\w\s\.\|`]/g, function(ch){return "\\"+ch; }); }),
|
||||
namespace = new RegExp("(^|\\.)" + cleaned.join("\\.(?:.*\\.)?") + "(\\.|$)"),
|
||||
special = this.special[ type ] || {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user