evanmiller/ChicagoBoss — pull request #319 by igorclark (2013-09-02 13:19:05+00:00)
Title: erlydtl can use js templates

Hi Evan - this does 2 simple things which have been useful for me in writing dynamically-generated JS files:

- allows .js DTL templates, so editors do JS syntax-colouring based on extension
- returning {js, Data, Headers} from controller automatically sends "Content-Type: application/javascript"

Cheers
Igor