We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
%span{class: func(x)} is currently compiled into code using Faml::AttributeBuilder. But we could inline it like dynamic attributes.
%span{class: func(x)}
Faml::AttributeBuilder
Before:
_buf << ("<span".freeze); _buf << (::Faml::AttributeBuilder.build("'", true, class: x)); _buf << ("></span>\n".freeze);
After:
_buf << ("<span".freeze); _buf << do_something_with_class('span', x); _buf << ("></span>\n".freeze);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
%span{class: func(x)}
is currently compiled into code usingFaml::AttributeBuilder
.But we could inline it like dynamic attributes.
Before:
After:
The text was updated successfully, but these errors were encountered: