adds moment-timezone.js to the list of vendorable libs
This commit is contained in:
parent
691174fa8f
commit
1eee517ae2
|
@ -186,7 +186,8 @@ class DiscoursePluginRegistry
|
||||||
end
|
end
|
||||||
|
|
||||||
VENDORED_CORE_PRETTY_TEXT_MAP = {
|
VENDORED_CORE_PRETTY_TEXT_MAP = {
|
||||||
"moment.js" => "lib/javascripts/moment.js"
|
"moment.js" => "lib/javascripts/moment.js",
|
||||||
|
"moment-timezone.js" => "lib/javascripts/moment-timezone-with-data.js"
|
||||||
}
|
}
|
||||||
def self.core_asset_for_name(name)
|
def self.core_asset_for_name(name)
|
||||||
asset = VENDORED_CORE_PRETTY_TEXT_MAP[name]
|
asset = VENDORED_CORE_PRETTY_TEXT_MAP[name]
|
||||||
|
|
Loading…
Reference in New Issue