Stick with just getter/setters in attrFn.
This commit is contained in:
parent
9a0174b057
commit
100ed68642
|
@ -204,17 +204,13 @@ jQuery.each({
|
||||||
jQuery.extend({
|
jQuery.extend({
|
||||||
attrFn: {
|
attrFn: {
|
||||||
val: true,
|
val: true,
|
||||||
addClass: true,
|
|
||||||
css: true,
|
css: true,
|
||||||
html: true,
|
html: true,
|
||||||
text: true,
|
text: true,
|
||||||
append: true,
|
|
||||||
prepend: true,
|
|
||||||
data: true,
|
data: true,
|
||||||
width: true,
|
width: true,
|
||||||
height: true,
|
height: true,
|
||||||
offset: true,
|
offset: true
|
||||||
bind: true
|
|
||||||
},
|
},
|
||||||
|
|
||||||
attr: function( elem, name, value ) {
|
attr: function( elem, name, value ) {
|
||||||
|
|
Loading…
Reference in a new issue