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
block.setMod('blah', 2); console.log(typeof block.getMod('blah')); // number block.setMod('blah', '2'); console.log(typeof block.getMod('blah')); // string
Current behaviour looks weird and it seems that any value in the example above may fire several onSetMod-handlers (see buildModFnName()).
And the same goes to hasMod
hasMod
The text was updated successfully, but these errors were encountered:
👍
Sorry, something went wrong.
i-bem: setMod/hasMod cast non-boolean mod values to string
d26aa88
closes #890
Merge pull request #893 from /issues/890@v2
2ee4ce6
i-bem: setMod/hasMod convert non-boolean values to string
47a3778
port #893 onto v3 part of #890
Merge pull request #904 from /issues/890@v3
8a223d7
No branches or pull requests
Current behaviour looks weird and it seems that any value in the example above may fire several onSetMod-handlers (see buildModFnName()).
And the same goes to
hasMod
The text was updated successfully, but these errors were encountered: