avoidwork / filesize.js

JavaScript library to generate a human readable String describing the file size
https://filesizejs.com
BSD 3-Clause "New" or "Revised" License
1.61k stars 97 forks source link

It will be nice if filesize.js provides a CDN option #2

Closed baoshan closed 12 years ago

baoshan commented 12 years ago

Using the gh-pages branch to serve as a CDN is fine enough. The raw.github.com is not suitable for serving JavaScript files for browsers (especially IE) directly.

Thanks!

avoidwork commented 12 years ago

Usually I wouldn't do this, but ...

http://cdn.filesizejs.com/

I'll change the gh-page links to point to that for the individual files later today.

baoshan commented 12 years ago

Sounds great!

Thanks.

avoidwork commented 12 years ago

Yo, just a heads up that I changed the 'shape' of the project, and the CDN was updated to reflect this. Production version is now http://cdn.filesizejs.com/filesize.min.js, debugging version lacking ".min" in the name.