diff options
author | jeresig <jeresig@gmail.com> | 2010-09-08 12:00:29 -0400 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2010-09-08 12:00:29 -0400 |
commit | a44ec402771f6d622506f39073d0be260400dd21 (patch) | |
tree | 0f9c5ad37ea56d5366ae6c5f15c420c490ac8ad5 /src/attributes.js | |
parent | b920f0aeb483f4565ff2f3c1d2a328d5200b23f7 (diff) | |
download | jquery-a44ec402771f6d622506f39073d0be260400dd21.tar.gz jquery-a44ec402771f6d622506f39073d0be260400dd21.zip |
Make sure that jQuery works even when the individual modules are loaded separately AND jQuery.noConflict(true) is used. Fixes #7011.
Diffstat (limited to 'src/attributes.js')
-rw-r--r-- | src/attributes.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/attributes.js b/src/attributes.js index fecba6617..4fa49b914 100644 --- a/src/attributes.js +++ b/src/attributes.js @@ -1,3 +1,5 @@ +(function( jQuery ) { + var rclass = /[\n\t]/g, rspace = /\s+/, rreturn = /\r/g, @@ -341,3 +343,5 @@ jQuery.extend({ } } }); + +})( jQuery ); |