Software Details:
Version: 0.1.3
Upload Date: 20 Feb 15
Distribution Type: Freeware
Downloads: 2
gears-coffeescript already includes the CoffeeScript source code for you, so you don't need to worry about installing it yourself.
Installation
Install gears-coffeescript with pip:
pip install gears-coffeescript
Usage
Add gears_coffeescript.CoffeeScriptCompiler to environment's compilers registry:
from gears_coffeescript import CoffeeScriptCompiler
environment.compilers.register('.coffee', CoffeeScriptCompiler.as_handler())
If you use Gears in your Django project, add this code to its settings:
GEARS_COMPILERS = {
'.coffee': 'gears_coffeescript.CoffeeScriptCompiler',
}
Requirements:
- Python
- node.js
Comments not found