Stick with just getter/setters in attrFn.

This commit is contained in:
jeresig 2009-12-17 12:23:04 -05:00
parent 9a0174b057
commit 100ed68642

View file

@ -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 ) {