Skip to content
This repository was archived by the owner on Feb 26, 2018. It is now read-only.

Use HTML5 boolean attribute syntax - #84

Open
adamwathan wants to merge 1 commit into
masterfrom
aw-html5-boolean-attributes
Open

Use HTML5 boolean attribute syntax#84
adamwathan wants to merge 1 commit into
masterfrom
aw-html5-boolean-attributes

Conversation

@adamwathan

Copy link
Copy Markdown
Owner

Replace attributes like required="required" with just required.

Possible BC break in that __call no longer sets the value to the same
value as the method/attribute name automatically, instead calls like
$element->banana() will just add a banana attribute, not
banana="banana" like previously.

Replace attributes like `required="required"` with just `required`.

Possible BC break in that __call no longer sets the value to the same
value as the method/attribute name automatically, instead calls like
`$element->banana()` will just add a `banana` attribute, not
`banana="banana"` like previously.
@jesseleite

Copy link
Copy Markdown
Contributor

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants