Comment by bsingerzero
2 months ago
One of John Nash's most famous paper's is 1 page: https://www.pnas.org/doi/abs/10.1073/pnas.36.1.48
Large systems is not a requirement for novelty.
2 months ago
One of John Nash's most famous paper's is 1 page: https://www.pnas.org/doi/abs/10.1073/pnas.36.1.48
Large systems is not a requirement for novelty.
OP doesn’t feel that novel. I read the code and it all has been done before.
> OP doesn’t feel that novel. I read the code and it all has been done before.
Thank you for reading the code. Where was this done before?
A few projects were mentioned in this page (Yoffee, Lit, etc) but after closer examination none of them appear to be "define an object in simple terms, then use HTML to inline it", where object is "HTML fragment with methods in a script element that are scoped only to that specific instance of the fragment".
I'm curious to see prior usage.
There are quite a few HTML include components out there. A quick GH search return a lot of results.
From very simple (https://github.com/include-html/include-html.github.io/blob/..., from 3 years ago), to more sophisticated, including script execution (https://github.com/SirPepe/html-import/blob/master/src/html-..., from 4 years ago; or even https://github.com/webcomponents/html-imports/blob/master/sr..., dating back 9 years). I haven't checked all of them but there's a decent chance there's something that covers each feature of OP, maybe even at once.
7 replies →