380f73f633
Rails pipeline offers a way to compile a file through multiple targets. A coffeescript source file may be first compiled through erb renderer. Example of an use case would be to compile constants such as API keys into JS. This makes possible to test the functional parts of the source code that is unaffected by the values inserted by erb compiler. |
||
---|---|---|
.. | ||
headless | ||
headless.rb |