Re:Show HN: TopLevel – A New Way to JavaScript Your HTML
by dmak on Thursday June 05, 2014 @03:49AM
(#7850730)
This is interesting, could you explain this more in detail?
[ Parent
| on HN ]
Re:Show HN: TopLevel – A New Way to JavaScript Your HTML
by Kiro on Thursday June 05, 2014 @05:13AM
(#7850985)
Not OP but:
1. Page is parsed as HTML, ignoring the JS since it's wrapped in HTML comments.
2. script src="#" loads itself.
3. Page is parsed as JS, ignoring the HTML since it's wrapped in JS comments.