discourse/config/initializers/10-discourse_iife.rb

6 lines
220 B
Ruby
Raw Normal View History

require 'discourse_iife'
2015-04-16 16:44:24 -04:00
require 'source_url'
2015-04-16 16:44:24 -04:00
Rails.application.assets.register_preprocessor('application/javascript', DiscourseIIFE)
Rails.application.assets.register_postprocessor('application/javascript', SourceURL)