grrrrr asset pipeline hates me
This commit is contained in:
parent
ea7b97be34
commit
15c5f5b840
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
// TODO: automate this to grab from the manifest, Rails voodoo should be able to get it
|
// TODO: automate this to grab from the manifest, Rails voodoo should be able to get it
|
||||||
var map = {
|
var map = {
|
||||||
'defer/html-sanitizer-bundle': <%= asset_path('defer/html-sanitizer-bundle').inspect.html_safe %>
|
|
||||||
};
|
};
|
||||||
|
|
||||||
var assetPath = function(asset){
|
var assetPath = function(asset){
|
||||||
|
|
|
@ -30,7 +30,7 @@ module Discourse
|
||||||
config.assets.paths += %W(#{config.root}/config/locales)
|
config.assets.paths += %W(#{config.root}/config/locales)
|
||||||
|
|
||||||
config.assets.precompile += [
|
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.
|
# Activate observers that should always be running.
|
||||||
|
|
Loading…
Reference in New Issue