]> source.dussan.org Git - jquery.git/commit
Attributes: allow array param in add/remove/toggleClass
authorTimmy Willison <4timmywil@gmail.com>
Tue, 2 Jan 2018 21:45:10 +0000 (16:45 -0500)
committerTimmy Willison <4timmywil@gmail.com>
Mon, 8 Jan 2018 16:43:53 +0000 (11:43 -0500)
commit80f57f8a13debaab87b99f73631669699da3e1a5
treee89842f0becc28188d0d95142fe5d5ac2c30eb90
parenta88b48eab1cdbb9dac05679a0d1c0edd7cc4afd7
Attributes: allow array param in add/remove/toggleClass

+30 bytes instead of +182

Thanks to @faisaliyk for the first pass on this feature.

Fixes gh-3532
Close gh-3917
src/attributes/classes.js
test/unit/attributes.js