Skip to content

Releases: mudgen/webscript

v0.2.1

04 Jul 00:58
Compare
Choose a tag to compare

Made createSVGElement case sensitive for tag names because SVG is case sensitive.

v0.2.0

02 Jun 17:55
Compare
Choose a tag to compare

Added support for the following things:

  1. Special properties 'children' and 'props'.
  2. Ability to get property values.
  3. Ability to enhance builders.

To find out about these features please read the documentation: https://mudgen.github.io/webscript/docs/

v0.1.2

31 May 05:42
Compare
Choose a tag to compare

Updated the files in the dist directory.

v0.1.1

31 May 05:23
Compare
Choose a tag to compare

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

v0.1.0

30 May 12:26
Compare
Choose a tag to compare
docs