diff options
Diffstat (limited to 'javascript')
-rw-r--r-- | javascript/app/controllers/packages.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/javascript/app/controllers/packages.js b/javascript/app/controllers/packages.js index 614ecd8..4bb10fc 100644 --- a/javascript/app/controllers/packages.js +++ b/javascript/app/controllers/packages.js @@ -1,7 +1,8 @@ import Ember from 'ember'; import {goToDefinition} from '../utils/go-to-definition'; -export default Ember.Controller.extend({ +export default Ember.Controller.extend({ + store : Ember.inject.service('store'), queryObserver : Ember.observer("query",function() { Ember.run.debounce(this, () => { const regExp = new RegExp(this.get('query'),"i"); |