0.01
No commit activity in last 3 years
No release in over 3 years
An Extension for Sprockets to enable --bare option for CoffeeScript's compiler. Thus, it will compile coffeescript file into javascript file without a top-level function wrapper.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 2.1.2
 Project Readme

BareCoffee

An Extension for Sprockets to enable --bare option for CoffeeScript's compiler. Thus, it will compile file without a top-level function wrapper.

All you have to do is add this line to your Gemfile:

gem 'bare_coffee'

This will automatically register "*.bare-coffee" file extension

Notes

This is not highly recommended for production or anything, but this might be useful for testing, experiment, and development.