From 1eee517ae2267283c385484f80d593ed570c021a Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Tue, 1 May 2018 16:00:05 +0200 Subject: [PATCH] adds moment-timezone.js to the list of vendorable libs --- lib/discourse_plugin_registry.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/discourse_plugin_registry.rb b/lib/discourse_plugin_registry.rb index 4ec176b8d09..547857838f8 100644 --- a/lib/discourse_plugin_registry.rb +++ b/lib/discourse_plugin_registry.rb @@ -186,7 +186,8 @@ class DiscoursePluginRegistry end 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) asset = VENDORED_CORE_PRETTY_TEXT_MAP[name]