aboutsummaryrefslogtreecommitdiff
path: root/javascript/app/controllers/package/search.js
blob: 46f2efdb66d365135baf197f01a545b47d24b743 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Ember from 'ember';
import {goToDefinition} from '../../utils/go-to-definition';

export default Ember.Controller.extend({
  store : Ember.inject.service('store'),
  actions : {
    goToDefinition (locationInfo,event) {      
      goToDefinition(this.get('store'),
                     locationInfo,
                     event.which,
                     null);
      return false;
    }
  }
});