diff options
author | alexwl <alexey.a.kiryushin@gmail.com> | 2019-03-08 13:51:55 +0300 |
---|---|---|
committer | alexwl <alexey.a.kiryushin@gmail.com> | 2019-03-08 13:51:55 +0300 |
commit | 5ce658d25df2b1eba971131e33c412884fd8ab3f (patch) | |
tree | 3b72089fa33f4d437317e04e7ea4a9a227b3a84e | |
parent | ccc575431280fb8fed78011c5e6a73d00c2367a9 (diff) |
Fix 'go to definition' on the Packages page
-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"); |