Closed msiebuhr closed 12 years ago
There's really no reason to load the data as JSON, as it's quite static. Wrapping it into some JS should be fairly simple:
"var rawData = " + JSON data + ";"
And then include it in the HTML.
Actually, don't. This will make the initial load-time quite long. We should rather show a friendly message if we're slow getting the JSON from the back-end.
And work towards making the JSON smaller.
There's really no reason to load the data as JSON, as it's quite static. Wrapping it into some JS should be fairly simple:
And then include it in the HTML.