alisonailea/grunt-ractive-parse — pull request #2 by mileszim (2014-08-08 06:36:51+00:00)
Title: Updating ractive version and adjusting template object terminal based on type

Thanks for this module!

I updated ractive to 0.5.5 and set the flag to ^ so that it stays with the latest version. Currently if you include the latest ractive from cdn and use this to compile, you get the error: ```Uncaught Error: Mismatched template version! Please ensure you are using the latest version of Ractive.js in your build process as well as in your app```.

The other thing I did was add a small function which adjusts the template object terminal to vary based on type. You had it always return ```});``` which was throwing errors when you use the normal javascript object setting which opens with ```javascript var template = {```. I set it to select ```});``` if ext and ```};``` if javascript.