5 ms·
Time to shill my own alternative. https://github.com/NoHatCoder/DOM_Maker https://github.com/NoHatCoder/DOM_Maker No parser, just a bunch of JavaScript functi
by NohatCoder 7y ago
Time to shill my own alternative.
https://github.com/NoHatCoder/DOM_Maker https://github.com/NoHatCoder/DOM_Maker
No parser, just a bunch of JavaScript functions that nest nicely, to create dense and readable DOM generation code.
Might be time for putting a 1.0 sticker on it.
As for Bepis, the mechanism by which elements nest seem complicated, as far as I understand it is controlled by sprinkling , and . throughout the string, I don't get why this would be necessary.
- scotty79 7y agoWhy no examples in the readme?
- kinlan 7y agosnap!
- NohatCoder 7y agoI guess I am better at writing libraries than marketing. So that is definitely on the todo list now.
- kinlan 7y agoIt would be great for people just visiting DOM_Maker to be able to quickly see an example in the README file of the syntax etc.
- undecisive 7y agoAs someone else mentioned, everyone should do this. I've got a similar coffeescript one: https://github.com/undecided/tg https://github.com/undecided/tg (totally usable in vanilla JS too)