DEV: Find/replace deprecated decorators

This commit is contained in:
Penar Musaraj 2020-02-19 11:49:56 -05:00
parent 8ec2d8a814
commit 6be685ac67
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ import Component from "@ember/component";
/* global Pikaday:true */
import { propertyNotEqual } from "discourse/lib/computed";
import loadScript from "discourse/lib/load-script";
import computed from "ember-addons/ember-computed-decorators";
import computed from "discourse-common/utils/decorators";
import { cookAsync } from "discourse/lib/text";
import discourseDebounce from "discourse/lib/debounce";
import { observes } from "discourse-common/utils/decorators";

View File

@ -3,7 +3,7 @@ import { debounce } from "@ember/runloop";
import { cancel } from "@ember/runloop";
import Component from "@ember/component";
import { ajax } from "discourse/lib/ajax";
import computed, { observes, on } from "ember-addons/ember-computed-decorators";
import computed, { observes, on } from "discourse-common/utils/decorators";
export const keepAliveDuration = 10000;
export const bufferTime = 3000;

View File

@ -1,7 +1,7 @@
import { debounce } from "@ember/runloop";
import { cancel } from "@ember/runloop";
import Component from "@ember/component";
import computed, { on } from "ember-addons/ember-computed-decorators";
import computed, { on } from "discourse-common/utils/decorators";
import {
keepAliveDuration,
bufferTime