News for hackers. Stuff that matters.
Re:The smallest JavaScript libraries on the internet by stbrumme on Tuesday February 02, 2016 @10:31AM (#11020014)
Author here: my website isn't about Javascript in the first place, it's about compression. I could have done something similar with PNGs, PDFs or ZIPs (same DEFLATE compression algorithm) but Javascript is much more widespread.
Re:The smallest JavaScript libraries on the internet by marklawrutgers on Tuesday February 02, 2016 @01:15PM (#11021202)
I have an issue with the load local copy code:

<script>window.jQuery || document.write('<script src="local_server_path/jquery.min.js"></script>')</script>

In the browser I always end up with a ') at the top of all my pages. I'm assuming this is because the script tag actually closes inside of the document.write instead of the actual end. Am I the only one with this issue? Not sure what went wrong here.