Releases: mudgen/webscript
v0.2.1
v0.2.0
Added support for the following things:
- Special properties 'children' and 'props'.
- Ability to get property values.
- Ability to enhance builders.
To find out about these features please read the documentation: https://mudgen.github.io/webscript/docs/
v0.1.2
v0.1.1
Added support for interpuncts or middle dots to replace hyphens in builder property names.
The unicode value is U+00B7. More info here: https://en.wikipedia.org/wiki/Interpunct
For example this:
<div data-size="10"><div>
Becomes this in Webscript:
div.data·size`10`;
Example of use: In my VS Code editor I created a key binding to F9, which is right above my hyphen key on my keyboard, to insert an interpunct.
Other builtin operating system keybindings to interpunct are mentioned in the webpage at this link: https://middot.net/ Also, on Windows holding down Alt
and typing 250
works.
This is optional functionality. Properties with hyphens can also be done like this:
div["data-size"]`10`;