mckamey / countdownjs

A simple JavaScript API for producing an accurate, intuitive description of the timespan between two Date instances.
http://countdownjs.org
MIT License
496 stars 95 forks source link

Demo page loads javascript code from wrong path #17

Closed jonassmedegaard closed 7 years ago

jonassmedegaard commented 7 years ago

The page demo.html links to countdown.demo.js which does not exist.

Changing that to countdown.js makes the demo page work.

mckamey commented 7 years ago

This is by design to prevent people hot linking to the script on the website. Run the build file and it generates a special version of the script that only works on the website.