mirror of https://github.com/hashicorp/consul
14 lines
353 B
JavaScript
14 lines
353 B
JavaScript
|
import Mixin from '@ember/object/mixin';
|
||
|
import { inject as service } from '@ember/service';
|
||
|
import { get, set } from '@ember/object';
|
||
|
|
||
|
export default Mixin.create({
|
||
|
feedback: service('feedback'),
|
||
|
init: function() {
|
||
|
this._super(...arguments);
|
||
|
set(this, 'feedback', {
|
||
|
execute: get(this, 'feedback').execute.bind(this),
|
||
|
});
|
||
|
},
|
||
|
});
|