[jQuery] questions of jquery'event
Hello, I was an engineer of China's javascript, I am very like jquery
library, research library at a time when I encountered a small
problem: in
Event source code is the most common namespaced event handlers, for
example, var namespaces = type.split (".");
type = namespaces.shift ();
var namespace = RegExp ("(^| \ \.) "+ namespaces.slice (). sort ().
join (" .* \ \. ") +" (\ \ .|$)");
I would like to ask what the role of these codes and when to use?
thank you