mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
grrrrr asset pipeline hates me
This commit is contained in:
parent
ea7b97be34
commit
15c5f5b840
2 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,6 @@
|
|||
|
||||
// TODO: automate this to grab from the manifest, Rails voodoo should be able to get it
|
||||
var map = {
|
||||
'defer/html-sanitizer-bundle': <%= asset_path('defer/html-sanitizer-bundle').inspect.html_safe %>
|
||||
};
|
||||
|
||||
var assetPath = function(asset){
|
||||
|
|
|
@ -30,7 +30,7 @@ module Discourse
|
|||
config.assets.paths += %W(#{config.root}/config/locales)
|
||||
|
||||
config.assets.precompile += [
|
||||
'admin.js', 'admin.css', 'shiny/shiny.css', 'preload_store.js', 'jquery.js', 'defer/html-sanitizer-bundle.js'
|
||||
'admin.js', 'admin.css', 'shiny/shiny.css', 'preload_store.js', 'jquery.js' #, 'defer/html-sanitizer-bundle.js'
|
||||
]
|
||||
|
||||
# Activate observers that should always be running.
|
||||
|
|
Loading…
Reference in a new issue