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
/
attributes.js
diff --git
a/src/attributes.js
b/src/attributes.js
index
719c368
..
73b4cdf
100644
(file)
--- a/
src/attributes.js
+++ b/
src/attributes.js
@@
-1,3
+1,5
@@
+(function( jQuery ) {
+
var rclass = /[\n\t]/g,
rspace = /\s+/,
rreturn = /\r/g,
@@
-345,3
+347,5
@@
jQuery.extend({
return jQuery.style( elem, name, value );
}
});
+
+})( jQuery );