1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 22:59:43 +02:00

[WIP] Upgrade EmberJS -- lint pass!

This commit is contained in:
Harvey Kandola 2018-12-08 20:54:19 +00:00
parent c7808d0b5a
commit adbd00bdd7
95 changed files with 645 additions and 645 deletions

View file

@ -10,6 +10,7 @@
// https://documize.com
import $ from 'jquery';
import { observer } from '@ember/object';
import { inject as service } from '@ember/service';
import { schedule, debounce } from '@ember/runloop';
import AuthProvider from '../../mixins/auth';
@ -47,9 +48,9 @@ export default Component.extend(AuthProvider, ModalMixin, {
this.set('users', users);
},
onKeywordChange: function () {
onKeywordChange: observer('filter', function() {
debounce(this, this.filterUsers, 350);
}.observes('filter'),
}),
filterUsers() {
this.get('onFilter')(this.get('filter'));