2013-02-22 15:41:12 -05:00
|
|
|
require 'discourse_iife'
|
|
|
|
|
2015-04-16 16:44:24 -04:00
|
|
|
Rails.application.assets.register_preprocessor('application/javascript', DiscourseIIFE)
|
2015-06-11 02:41:22 -04:00
|
|
|
unless Rails.env.production?
|
|
|
|
require 'source_url'
|
|
|
|
Rails.application.assets.register_postprocessor('application/javascript', SourceURL)
|
|
|
|
end
|