module EvilFront

Public Class Methods

install_all(sprockets, options = {}) click to toggle source

Install Evil Front, Autoprefixer, Evil Blocks, Rails Sass Images and Csso to Sprockets.

# File lib/evil-front-all.rb, line 12
def self.install_all(sprockets, options = {})
  autoprefixer = { }
  autoprefixer[:browsers] = options[:browsers] if options.has_key? :browsers

  AutoprefixerRails.install(sprockets, autoprefixer)
  EvilBlocks.install(sprockets)
  JqueryCdn.install(sprockets)
  install(sprockets)

  EvilFront.set_slim_options!
end