mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 08:38:42 +08:00
6 lines
220 B
Ruby
6 lines
220 B
Ruby
require 'discourse_iife'
|
|
require 'source_url'
|
|
|
|
Rails.application.assets.register_preprocessor('application/javascript', DiscourseIIFE)
|
|
Rails.application.assets.register_postprocessor('application/javascript', SourceURL)
|