mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 20:52:46 +08: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 ||=
|
@ctx ||=
|
||||||
begin
|
begin
|
||||||
ctx = MiniRacer::Context.new(timeout: 15_000, ensure_gc_after_idle: 2000)
|
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
|
ctx
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user