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