git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a0174b
)
Stick with just getter/setters in attrFn.
author
jeresig
<jeresig@gmail.com>
Thu, 17 Dec 2009 17:23:04 +0000
(12:23 -0500)
committer
jeresig
<jeresig@gmail.com>
Thu, 17 Dec 2009 17:23:04 +0000
(12:23 -0500)
src/attributes.js
patch
|
blob
|
history
diff --git
a/src/attributes.js
b/src/attributes.js
index
f3d0951
..
402c3dc
100644
(file)
--- a/
src/attributes.js
+++ b/
src/attributes.js
@@
-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 ) {