Skip to content
Permalink
Browse files

added semicolons to end of 2 statements (and fixed a misspelled word …

…in comment)
  • Loading branch information
Karl Swedberg authored and jeresig committed Dec 6, 2009
1 parent 9c1db29 commit 3afc6533e2396ac1752dc8ce677823f6506dd8dd
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/event.js
@@ -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 ] || {};

0 comments on commit 3afc653

Please sign in to comment.
You can’t perform that action at this time.