From c802e0d5e10b0dc0041e028b36ab44cbd994b437 Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Sat, 5 Mar 2022 17:21:55 +0100 Subject: [PATCH] DEV: Lose the es6 suffix (#46) --- .../{discourse-math-katex.js.es6 => discourse-math-katex.js} | 0 .../{discourse-math-mathjax.js.es6 => discourse-math-mathjax.js} | 0 .../{discourse-math.js.es6 => discourse-math.js} | 0 plugin.rb | 1 + 4 files changed, 1 insertion(+) rename assets/javascripts/initializers/{discourse-math-katex.js.es6 => discourse-math-katex.js} (100%) rename assets/javascripts/initializers/{discourse-math-mathjax.js.es6 => discourse-math-mathjax.js} (100%) rename assets/javascripts/lib/discourse-markdown/{discourse-math.js.es6 => discourse-math.js} (100%) diff --git a/assets/javascripts/initializers/discourse-math-katex.js.es6 b/assets/javascripts/initializers/discourse-math-katex.js similarity index 100% rename from assets/javascripts/initializers/discourse-math-katex.js.es6 rename to assets/javascripts/initializers/discourse-math-katex.js diff --git a/assets/javascripts/initializers/discourse-math-mathjax.js.es6 b/assets/javascripts/initializers/discourse-math-mathjax.js similarity index 100% rename from assets/javascripts/initializers/discourse-math-mathjax.js.es6 rename to assets/javascripts/initializers/discourse-math-mathjax.js diff --git a/assets/javascripts/lib/discourse-markdown/discourse-math.js.es6 b/assets/javascripts/lib/discourse-markdown/discourse-math.js similarity index 100% rename from assets/javascripts/lib/discourse-markdown/discourse-math.js.es6 rename to assets/javascripts/lib/discourse-markdown/discourse-math.js diff --git a/plugin.rb b/plugin.rb index 22b9407..cc3f394 100644 --- a/plugin.rb +++ b/plugin.rb @@ -5,6 +5,7 @@ # version: 0.9 # authors: Sam Saffron (sam) # url: https://github.com/discourse/discourse-math +# transpile_js: true register_asset "stylesheets/common/discourse-math.scss"