kylestetz/CLNDR — pull request #34 by Ahrengot (2013-10-24 15:58:37+00:00)
Title: Make example work locally

### Hey Kyle — Awesome calendar.

I did find some things around the example that needed to be fixed, and added a few grunt tasks to handle some other stuff. Here's a list of changes:

1. I set up a grunt task for compiling the less files instead. This solves two things:
1. It makes the example work locally. Loading the less script caused a cross-origin error before, which killed the page (See attached screenshot).
2. It makes it easier to peak around in the compiled css files for people that don't use or understand less.
2. I also added live-reload so that the page refreshes when you modify the js or less. It will compile uncompressed CSS when you have watch enabled and compressed CSS when you just run the grunt task.
3. I changed the script links beginning with `//cdnjs.cloud...` to `http://cdnjs.cloud...` as // doesn't work locally
4. I updated to a newer version of jQuery
5. I moved the scripts to the bottom of the page
6. I added the missing doctype and some other optimizations.

Here's a screenshot of the errors I got prior to this fix:
![error](https://f.cloud.github.com/assets/391810/1400455/150261f0-3cc5-11e3-9d9b-dc5c95fe34a7.png)