Compare projects

Project comparisons allow you to view any selection of projects side by side just like they're shown on regular categories or in search results. You can try out an example or start yourself by adding a library to the comparison via the input below. You can also easily share your current comparison with others by sending the URL of the current page.

javascript_safe_logger
0.0
No commit activity in last 3 years
No release in over 3 years
== Rails 3.1 and up javascript asset for Paul Irish console.log wrapper This gem makes a javascript log method available as a Rails 3.1 asset * see http://paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog * see https://github.com/paulirish/html5-boilerplate == Usage in your javascript log('inside coolFunc', this, arguments); // or simple log('hello world!'); and in coffeescript log 'inside coolFunc', this, arguments # or simple log 'hello world!' == Install 1. Update the Gemfile in your rails project, add the following line gem 'javascript_safe_logger' 2. Update the /app/assets/javascript/application.js file A. Manually update the file, add this before other requires //= require safe_logger B. Or use the generator to update the application.js file rails generate javascript_safe_logger == License Paul Irish released the javascript code with the {The Unlicense}[http://unlicense.org/] (aka: public domain), so this gem is also released with the same license. == Ruby Gems * https://rubygems.org/gems/javascript_safe_logger
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024