Class Sprockets::SafetyColons
In: lib/sprockets/safety_colons.rb
Parent: Tilt::Template

For JS developers who are colonfobic, concatenating JS files using the module pattern usually leads to syntax errors.

The `SafetyColons` processor will insert missing semicolons to the end of the file.

This behavior can be disabled with:

    environment.unregister_postprocessor 'application/javascript', Sprockets::SafetyColons

Methods

evaluate   prepare  

Public Instance methods

[Validate]