git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make sure that jQuery works even when the individual modules are loaded separately...
[jquery.git]
/
src
/
event.js
diff --git
a/src/event.js
b/src/event.js
index
45f2202
..
f0b27de
100644
(file)
--- a/
src/event.js
+++ b/
src/event.js
@@
-1,3
+1,5
@@
+(function( jQuery ) {
+
var rnamespaces = /\.(.*)$/,
fcleanup = function( nm ) {
return nm.replace(/[^\w\s\.\|`]/g, function( ch ) {
var rnamespaces = /\.(.*)$/,
fcleanup = function( nm ) {
return nm.replace(/[^\w\s\.\|`]/g, function( ch ) {
@@
-1109,3
+1111,5
@@
if ( window.attachEvent && !window.addEventListener ) {
}
});
}
}
});
}
+
+})( jQuery );