skip to navigation
skip to content

Not Logged In

gears-coffeescript 0.1.3

CoffeeScript compiler for Gears

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',
}
 
File Type Py Version Uploaded on Size
gears-coffeescript-0.1.3.tar.gz (md5) Source 2014-02-08 82KB
  • Downloads (All Versions):
  • 7 downloads in the last day
  • 59 downloads in the last week
  • 464 downloads in the last month