A platform for community discussion. Free, open, simple.
DEV: Remove unnecessary functions (#15113)
Jarek Radoszfb5e871dff3d
diff --git a/app/assets/javascripts/discourse/app/lib/eyeline.js b/app/assets/javascripts/discourse/app/lib/eyeline.jsindex 76757e2e207..10d40b11878 100644--- a/app/assets/javascripts/discourse/app/lib/eyeline.js+++ b/app/assets/javascripts/discourse/app/lib/eyeline.js@@ -19,10 +19,6 @@ configureEyeline();// Track visible elements on the screen.export default EmberObject.extend(Evented, {- init() {- this._super(...arguments);- },-update() {if (_skipUpdate) {return;diff --git a/app/assets/javascripts/discourse/app/routes/application.js b/app/assets/javascripts/discourse/app/routes/application.jsindex 9ffcb3987fa..dbffdf2de99 100644--- a/app/assets/javascripts/discourse/app/routes/application.js+++ b/app/assets/javascripts/discourse/app/routes/application.js@@ -58,11 +58,6 @@ const ApplicationRoute = DiscourseRoute.extend(OpenComposer, {this.documentTitle.setTitle(tokens.join(" - "));},- // We need an empty method here for Ember to fire the action properly on all routes.- willTransition() {- this._super(...arguments);- },-postWasEnqueued(details) {showModal("post-enqueued", {model: details,