REFACTOR: Remove Ember.Controller in favor of import

This commit is contained in:
Robin Ward
2019-10-23 13:06:54 -04:00
parent e18af18fec
commit 6287eccb35
172 changed files with 623 additions and 462 deletions

View File

@ -1,8 +1,9 @@
import Controller from "@ember/controller";
import { ajax } from "discourse/lib/ajax";
import { bufferedProperty } from "discourse/mixins/buffered-content";
import { propertyEqual } from "discourse/lib/computed";
export default Ember.Controller.extend(bufferedProperty("model"), {
export default Controller.extend(bufferedProperty("model"), {
saved: false,
isSaving: false,
saveDisabled: propertyEqual("model.robots_txt", "buffered.robots_txt"),