mirror of
https://github.com/discourse/discourse.git
synced 2024-11-21 16:38:15 -06:00
DEV: Remove vendored copy of messageformat (#21658)
This commit is contained in:
parent
4f8dbe345f
commit
61f0b26035
File diff suppressed because it is too large
Load Diff
@ -329,7 +329,9 @@ module JsLocaleHelper
|
||||
@ctx ||=
|
||||
begin
|
||||
ctx = MiniRacer::Context.new(timeout: 15_000, ensure_gc_after_idle: 2000)
|
||||
ctx.load("#{Rails.root}/lib/javascripts/messageformat.js")
|
||||
ctx.load(
|
||||
"#{Rails.root}/app/assets/javascripts/node_modules/messageformat/messageformat.js",
|
||||
)
|
||||
ctx
|
||||
end
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user