diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2013-05-07 15:22:58 -0400 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2013-05-07 15:22:58 -0400 |
commit | e0df650136bdbd77aebc424f5cee403d93e5210d (patch) | |
tree | 4d33854dd4ba66816e30575839b30f6500359036 /src | |
parent | c57ca9e5a540356f87f188300a1e9f9430cfb46f (diff) | |
download | jquery-e0df650136bdbd77aebc424f5cee403d93e5210d.tar.gz jquery-e0df650136bdbd77aebc424f5cee403d93e5210d.zip |
Move attr hook for value to Sizzle.
Related: https://github.com/jquery/sizzle/issues/209
Diffstat (limited to 'src')
-rw-r--r-- | src/attributes.js | 8 | ||||
m--------- | src/sizzle | 0 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/attributes.js b/src/attributes.js index afafc8dca..084ca0c6d 100644 --- a/src/attributes.js +++ b/src/attributes.js @@ -490,14 +490,6 @@ jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) // fix oldIE attroperties if ( !getSetInput || !getSetAttribute ) { - jQuery.expr.attrHandle.value = function( elem, name, isXML ) { - var ret; - return isXML ? undefined : - // Ignore the value *property* on inputs by using defaultValue - jQuery.nodeName( elem, "input" ) ? elem.defaultValue : - // Retrieve the attribute - (ret = elem.getAttributeNode( name )) && ret.specified ? ret.value : undefined; - }; jQuery.attrHooks.value = { set: function( elem, value, name ) { if ( jQuery.nodeName( elem, "input" ) ) { diff --git a/src/sizzle b/src/sizzle -Subproject b8789b87f1ecb00f0de82b2a13a3474dabdab40 +Subproject 88a598b70da6acddbdbf695b605e03a77982b3d |