mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 03:48:23 +00:00
Merge branch 'master' of https://github.com/discourse/discourse
This commit is contained in:
commit
4ad935f958
@ -1,7 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module HighlightJs
|
||||
HIGHLIGHTJS_DIR = "#{Rails.root}/vendor/assets/javascripts/highlightjs/"
|
||||
HIGHLIGHTJS_DIR ||= "#{Rails.root}/vendor/assets/javascripts/highlightjs/"
|
||||
|
||||
def self.languages
|
||||
langs = Dir.glob(HIGHLIGHTJS_DIR + "languages/*.js").map do |path|
|
||||
|
Loading…
x
Reference in New Issue
Block a user