Sha256: 52bed51ceaf0803d69e57a341991f015b07bc6eb0c0c5d4ef75366a4c3fad57f
Contents?: true
Size: 884 Bytes
Versions: 16
Compression:
Stored size: 884 Bytes
Contents
# frozen_string_literal: true # Engines are run as gems, not really using bundler # Therefore, we need to require stuff manually require 'rubygems' require 'coffee_script' require 'haml' require 'sass-rails' require 'compass' require 'compass-rails' require 'jquery-rails' require 'jquery-ui-rails' # Rails 5 only require 'compass-blueprint' require 'susy' require 'quby/range_categories' require 'quby/pdf_renderer' module Quby class Engine < Rails::Engine isolate_namespace Quby initializer "QubyEngine precompile hook" do |app| app.config.assets.precompile += ["quby/*.gif", "quby/*.png", "quby/*.jpg", "quby/*.jpeg"] app.config.assets.precompile += ["quby/application.css", "quby/print.css", "quby/dialog.css"] app.config.assets.precompile += ["quby/application.js", "quby/answers.js", "quby/disable_keys.js", "quby/printer.js"] end end end
Version data entries
16 entries across 16 versions & 1 rubygems