News for hackers. Stuff that matters.
Re:D3.js 5.0 is out by dustinmoorenet on Friday March 23, 2018 @09:32AM (#16657869)
We did the same thing, and to dynamically pull in content into the parent context, we created our own script block tag. <div type="javascript">...</div> so that we could extract the JS and eval it in the parent context. The clunky thing was that you had to hand escape reserved html characters (&, <, etc) in your JS code. So many bugs...

There are no comments on this comment yet.