Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Render CoffeeScript files with the --bare option. Useful for JS spec helpers.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 sprockets-blackcoffee.gemspec
README.md

Sprockets BlackCoffee

Yes, sometimes it may be OK to render your CoffeeScript files using the --bare option. Most notably, in test spec helper files under Jasmine.

Usage

Spec the gem in your Gemfile and bundle install.

gem 'sprockets-blackcoffee'

The gem resisters a new template that subclasses Tilt's default CoffeeScript template. Except it does one thing, it sets the --bare option to true. To use this template, name your files with the .black_coffee file extension.

Something went wrong with that request. Please try again.