mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
Allow the loader to understand when files are moved
This commit is contained in:
parent
603fa685f0
commit
0f9e45f283
5 changed files with 29 additions and 9 deletions
|
@ -59,7 +59,7 @@ module PrettyText
|
|||
ctx.attach("console.log", proc{|l| p l })
|
||||
end
|
||||
|
||||
ctx_load(ctx, "vendor/assets/javascripts/loader.js")
|
||||
ctx_load(ctx, "#{Rails.root}/app/assets/javascripts/discourse-loader.js")
|
||||
ctx_load(ctx, "vendor/assets/javascripts/lodash.js")
|
||||
manifest = File.read("#{Rails.root}/app/assets/javascripts/pretty-text-bundle.js")
|
||||
root_path = "#{Rails.root}/app/assets/javascripts/"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue