DEV: Remove "empty" template code (#16140)
Its only use seems to have been removed back in 2016 in a9ed15e11a
.
This commit is contained in:
parent
43da88db6c
commit
fbef828ab2
|
@ -1,5 +1,4 @@
|
|||
import DiscourseURL from "discourse/lib/url";
|
||||
import Handlebars from "handlebars";
|
||||
import { isDevelopment } from "discourse-common/config/environment";
|
||||
|
||||
// Use the message bus for live reloading of components for faster development.
|
||||
|
@ -51,10 +50,6 @@ export default {
|
|||
messageBus.subscribe(
|
||||
"/file-change",
|
||||
(data) => {
|
||||
if (Handlebars.compile && !Ember.TEMPLATES.empty) {
|
||||
// hbs notifications only happen in dev
|
||||
Ember.TEMPLATES.empty = Handlebars.compile("<div></div>");
|
||||
}
|
||||
data.forEach((me) => {
|
||||
if (me === "refresh") {
|
||||
// Refresh if necessary
|
||||
|
|
Loading…
Reference in New Issue