CoffeeScript compiler for Gears. This package already includes the CoffeeScript source code for you, so you don’t need to worry about installing it yourself.
Bundled CoffeeScript version: 1.7.1
Installation
Install gears-coffeescript with pip:
$ pip install gears-coffeescript
Requirements
gears-coffeescript requires node.js to be installed in your system.
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',
}
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gears-coffeescript-0.1.3.tar.gz
(84.5 kB
view details)
File details
Details for the file gears-coffeescript-0.1.3.tar.gz.
File metadata
- Download URL: gears-coffeescript-0.1.3.tar.gz
- Upload date:
- Size: 84.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0069f0111feb59e4865573d509d5b8f8487bb202f898cacd3ef39635f05404e2
|
|
| MD5 |
49ea2388af58bf64a72a7b157f6dfd9b
|
|
| BLAKE2b-256 |
7b3585b59d14a083a01a68965df3307255f854caf60e1868c1fcdd9dca136d7c
|