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

Version Path
evil-front-0.5.1 lib/evil-front.rb
evil-front-0.5.0 lib/evil-front.rb
evil-front-0.4.0 lib/evil-front.rb
evil-front-0.3.10 lib/evil-front.rb
evil-front-0.3.9 lib/evil-front.rb
evil-front-0.3.8 lib/evil-front.rb
evil-front-0.3.7 lib/evil-front.rb
evil-front-0.3.6 lib/evil-front.rb
evil-front-0.3.5 lib/evil-front.rb
evil-front-0.3.4 lib/evil-front.rb
evil-front-0.3.3 lib/evil-front.rb
evil-front-0.3.2 lib/evil-front.rb
evil-front-0.3.1 lib/evil-front.rb
evil-front-0.3.0 lib/evil-front.rb
evil-front-0.2.1 lib/evil-front.rb
evil-front-0.2.0 lib/evil-front.rb