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:
parent
c7808d0b5a
commit
adbd00bdd7
95 changed files with 645 additions and 645 deletions
|
@ -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'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue