git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixing the problem with data-* based numbers as mention by @jasonwebster in 20673d7.
[jquery.git]
/
src
/
attributes.js
diff --git
a/src/attributes.js
b/src/attributes.js
index
719c368
..
4fa49b9
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,
var rclass = /[\n\t]/g,
rspace = /\s+/,
rreturn = /\r/g,
@@
-339,9
+341,7
@@
jQuery.extend({
// Non-existent attributes return null, we normalize to undefined
return attr === null ? undefined : attr;
}
// Non-existent attributes return null, we normalize to undefined
return attr === null ? undefined : attr;
}
-
- // elem is actually elem.style ... set the style
- // Using attr for specific style information is now deprecated. Use style instead.
- return jQuery.style( elem, name, value );
}
});
}
});
+
+})( jQuery );