Sha256: 07f1530b07aa0b2696003f3f57cbbbedae6e6eae20d3f7f59b8103add0e80085
Contents?: true
Size: 588 Bytes
Versions: 5
Compression:
Stored size: 588 Bytes
Contents
require 'i18n/js/engine' module I18n module Js autoload :Translator, "i18n/js/translator" autoload :FileDependencyProcessor, "i18n/js/file_dependency_processor" autoload :StaticAssetRenderer, "i18n/js/static_asset_renderer" class Railtie < ::Rails::Railtie rake_tasks do load "tasks/i18n-js.rake" end initializer "i18n-js.assetpipeline.environment", :after => "sprockets.environment" do |app| app.assets.register_preprocessor("application/javascript", FileDependencyProcessor) if app.config.assets.enabled end end end end
Version data entries
5 entries across 5 versions & 1 rubygems