mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Allow highlightjs-worker to be compiled successfully
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
// discourse-skip-module
|
||||||
|
|
||||||
// Standalone worker for highlightjs syntax generation
|
// Standalone worker for highlightjs syntax generation
|
||||||
|
|
||||||
// The highlightjs path changes based on site settings,
|
// The highlightjs path changes based on site settings,
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class DiscourseJsProcessor
|
|||||||
activate-account
|
activate-account
|
||||||
auto-redirect
|
auto-redirect
|
||||||
embed-application
|
embed-application
|
||||||
|
highlightjs-worker
|
||||||
app-boot
|
app-boot
|
||||||
).any? { |f| relative_path == "#{js_root}/#{f}.js" }
|
).any? { |f| relative_path == "#{js_root}/#{f}.js" }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user