News for hackers. Stuff that matters.
Re:JavaScript frameworks and topics to learn in 2017 by bigmanwalter on Sunday December 18, 2016 @03:54PM (#13207582)
Or, even better, I just inject the JSON data into a script tag with a var declaration, sort of like:

<script> var models = {{=models}}; </script>

And just like that, I have my data accessible as a global variable.

There are no comments on this comment yet.