DEV: Remove vendored copy of messageformat (#21658)

This commit is contained in:
David Taylor
2023-05-19 10:59:04 +01:00
committed by GitHub
parent 4f8dbe345f
commit 61f0b26035
2 changed files with 3 additions and 1594 deletions

View File

@@ -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
)