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`;