Skip to content
Permalink
Browse files

FIX: Allow JS transpilation

  • Loading branch information
eviltrout committed Mar 25, 2020
1 parent 661aebd commit 6d1263812f9c23c05683868b82f611964c28e14d
Showing with 2 additions and 1 deletion.
  1. +1 −0 app/assets/stylesheets/common/base/onebox.scss
  2. +1 −1 app/models/theme_field.rb
@@ -15,6 +15,7 @@ a.loading-onebox {
}
}

// test
.onebox-result {
@include post-aside;

@@ -134,7 +134,7 @@ def process_extra_js(content)
filename, extension = name.split(".", 2)
begin
case extension
when "js.es6"
when "js.es6", "js"
js_compiler.append_module(content, filename)
when "hbs"
js_compiler.append_ember_template(filename.sub("discourse/templates/", ""), content)

0 comments on commit 6d12638

Please sign in to comment.
You can’t perform that action at this time.