Sha256: 6c46e1f9f66cdff39f1c4b40586faaca693f8933953d080e2c10d90aae6f6a30
Contents?: true
Size: 873 Bytes
Versions: 16
Compression:
Stored size: 873 Bytes
Contents
require 'pathname' require 'slim' require 'sass' require 'sprockets' require 'rails-sass-images' module EvilFront autoload :Typograph, 'evil-front/typograph' autoload :Russian, 'evil-front/russian' autoload :English, 'evil-front/english' if defined?(::Rails) # Enable `lib/assets/` and `vendor/assets/` in Rails app. class Engine < ::Rails::Engine end end # Install Evil Front to standalone Sprockets environment. def self.install(sprockets) RailsSassImages.install(sprockets) root = Pathname(__FILE__).dirname.join('..') sprockets.append_path(root.join('lib/assets/javascripts')) sprockets.append_path(root.join('lib/assets/stylesheets')) sprockets.append_path(root.join('vendor/assets/fonts')) end end require_relative 'evil-front/version' require_relative 'evil-front/helpers' require_relative 'evil-front/slim'
Version data entries
16 entries across 16 versions & 1 rubygems