BradleyCai / ucr-schedule-visualizer

Generates an hour by hour view and shows the locations of all the classes from a raw class list from GROWL.
https://waa.ai/ucrsv
MIT License
5 stars 2 forks source link

Minify js #80

Open BradleyCai opened 8 years ago

BradleyCai commented 8 years ago

We should minify our js since it's growing bigger everyday.

We'll add a .min.js file for each of our regular .js files and then run the .min.js files in the website instead of the .js ones like we currently do.

To do this we should write a script to minify our js every time we modify or add js.

BradleyCai commented 8 years ago

Instead of separate .min.js files we should merge them all into one .min.js file.

We should also be careful about licenses and figure out a way to include them.

emmiegit commented 8 years ago

We could have each file minified to a single line, and then have a one line comment above explaining the lincese.

For instance:

/* abc - example.com/abc - MIT License */
if(a==b)c(a+b);  ...
/* def - example.org/def - MIT License */
func a(b,d,e,f){ ...