Helpers, shortcuts and my common frontend workflows
from Evil Martians.
The project is separated into 3 gems:
You can safely use Evil Front Core, but the other two gems have side effects,
so I recommend to only use them for new projects.
Some of the view helpers from Evil Front Core may require Rails, but most of them
work with any Ruby application.
The Evil Front Core gem contains assets and view helpers:
russian_typograph or english_typograph depend on current locale.application.css, jQuery from CDN and application.js.tel: protocol.black(alpha) and white(alpha) shortcutruble helper.auto_flying_quotes helper.height and line-height properties.::after with clear: both.setTimeout and setInterval in CoffeeScript.href="#" to clean event listeners fromreturn false.evil.post, evil.del and evil.putevil.win, evil.body and evil.docThe Evil Front All gem loads my must-have tools:
The Evil Front Rails gem changes default Rails settings:
app/assets/stylesheetsapp/assets/javascripts to precompile. You should only store loadable