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:
b91f8a9
)
Added .removeAttr().
author
John Resig
<jeresig@gmail.com>
Fri, 18 Aug 2006 04:37:41 +0000
(
04:37
+0000)
committer
John Resig
<jeresig@gmail.com>
Fri, 18 Aug 2006 04:37:41 +0000
(
04:37
+0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
8167d1b
..
44c1eec
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-314,7
+314,7
@@
jQuery.fn = jQuery.prototype = {
// Look for the case where we're accessing a style value
jQuery[ type || "attr" ]( this[0], key );
},
-
+
/**
* Access a style property on the first matched element.
* This method makes it easy to retreive a style property value
@@
-2371,6
+2371,11
@@
jQuery.macros = {
},
each: {
+
+ removeAttr: function( key ) {
+ this.removeAttribute( key );
+ },
+
/**
* Displays each of the set of matched elements if they are hidden.
*