]> source.dussan.org Git - jquery.git/commit
Attributes: Simplify the option val hook; backport a test from master
authorMichał Gołębiowski <m.goleb@gmail.com>
Thu, 4 Dec 2014 13:43:35 +0000 (14:43 +0100)
committerMichał Gołębiowski <m.goleb@gmail.com>
Mon, 8 Dec 2014 21:51:55 +0000 (22:51 +0100)
commitaec41a5c41df5a1b9a062950d90babdc0694b084
treebbabd380b702c5c328f5c83f0933676e51098ffa
parent90d7cc1d8b2ea7ac75f0eacb42439349c9c73278
Attributes: Simplify the option val hook; backport a test from master

The hook is still defined; not using it could cause issues in IE<11.
Backport the test from the master branch.

Also, IE10 no longer throws when value not set but it still doesn't trim the
value. IE11 has all those issues fixed; support comments are updated.

(cherry-picked from f6302b0b53d61dfe1adbfaf6612be5cbced5bbc1)

Fixes gh-1902
Closes gh-1901
src/attributes/val.js
test/unit/attributes.js