RubyGems.org

putsjs

0.0.5

Love Ruby's 'puts' syntax? and hate typing console.log everytime you want to print something to the web-browser console from you Coffecript? Then use 'putsjs'. putsjs allows console logging statements to be written as puts statements and during asset compilation converts them into console.log statements in you coffeescript.

installgem install putsjs -v 0.0.5
Authors

Samuel Selvanathan

4,001 total downloads 778 for this version
Owners

84d6f6a3869f5a418f60a650a51f02fd

Gemfile
gem 'putsjs', '~> 0.0.5'
Versions
  1. 0.2.0 March 26, 2012 (4.5 KB)
  2. 0.1.5 February 21, 2012 (4.5 KB)
  3. 0.1.0 February 21, 2012 (4.5 KB)
  4. 0.0.5 February 21, 2012 (4.5 KB)
  5. 0.0.1 February 21, 2012 (4.5 KB)
Runtime Dependencies
  1. coffee-rails >= 0
  2. tilt >= 0