Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Construct boolHook and rboolean regex to deal with boolean attributes…
…. Fixes #9129. Fixes #9123. - Construct regex for all attributes which are boolean attributes by specification. + This allows us to do what users expect with enumerated attributes and allows us to no longer complicate the issue. + People are just too confused with passing "true" instead of true when they should, so we won't have to worry about that anymore. - Modularize code for dealing with boolean attributes into a separate hook to keep attr short and fast.
- Loading branch information
Showing with 47 additions and 39 deletions.
- +47 −39 src/attributes.js