parent
476d26159a
commit
a3e2152265
|
@ -16,3 +16,7 @@ define("ember", ["exports"], function(__exports__) {
|
|||
define("message-bus-client", ["exports"], function(__exports__) {
|
||||
__exports__.default = window.MessageBus;
|
||||
});
|
||||
|
||||
define("ember-buffered-proxy/proxy", ["exports"], function(__exports__) {
|
||||
__exports__.default = window.BufferedProxy;
|
||||
});
|
||||
|
|
|
@ -4,7 +4,7 @@ import EmberObjectProxy from "@ember/object/proxy";
|
|||
import Controller from "@ember/controller";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
import ModalFunctionality from "discourse/mixins/modal-functionality";
|
||||
const BufferedProxy = window.BufferedProxy; // import BufferedProxy from 'ember-buffered-proxy/proxy';
|
||||
import BufferedProxy from "ember-buffered-proxy/proxy";
|
||||
import { popupAjaxError } from "discourse/lib/ajax-error";
|
||||
import discourseComputed, { on } from "discourse-common/utils/decorators";
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import EmberObjectProxy from "@ember/object/proxy";
|
||||
import Mixin from "@ember/object/mixin";
|
||||
import { computed } from "@ember/object";
|
||||
import BufferedProxy from "ember-buffered-proxy/proxy";
|
||||
|
||||
/* global BufferedProxy: true */
|
||||
export function bufferedProperty(property) {
|
||||
const mixin = {
|
||||
buffered: computed(property, function() {
|
||||
|
|
Loading…
Reference in New Issue