ralfstx / minimal-json

A fast and small JSON parser and writer for Java
MIT License
736 stars 185 forks source link

Benhmarks.html: Load D3.js from network if local copy doesn't exist. #37

Closed cakoose closed 9 years ago

cakoose commented 9 years ago

This is sort of messy, but so convenient.

Some alternatives:

ralfstx commented 9 years ago

I've added a build step that fetches the d3 js file and place it in lib/ where it is found by the HTML. This way the lib is only downloaded once and can be used offline. Hope you find it convenient as well.

Also added an error message as you suggested.