aboutsummaryrefslogtreecommitdiff
path: root/javascript/app/controllers/package
diff options
context:
space:
mode:
authorAvi Dessauer <avi.the.coder@gmail.com>2019-08-21 06:03:31 -0400
committerAlexey Kiryushin <alexey.a.kiryushin@gmail.com>2019-08-21 13:03:31 +0300
commitaf41ab40e1fc4888d1873a9ffe681ddafdfb4ee0 (patch)
tree219315a1ef02ae0d0f21889e7b88e08318b308a2 /javascript/app/controllers/package
parent5295ac7f7f26c3a43f0fe9b9c826e876b29cf666 (diff)
Delete trailing whitespace (#42)
Diffstat (limited to 'javascript/app/controllers/package')
-rw-r--r--javascript/app/controllers/package/index.js2
-rw-r--r--javascript/app/controllers/package/search.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/javascript/app/controllers/package/index.js b/javascript/app/controllers/package/index.js
index cd02416..dabb196 100644
--- a/javascript/app/controllers/package/index.js
+++ b/javascript/app/controllers/package/index.js
@@ -2,7 +2,7 @@ import Ember from 'ember';
export default Ember.Controller.extend({
modulesFiltered : Ember.computed('model','query',function () {
const query = this.get('query');
- const modules = Object.keys(this.get('model.modules')).sort();
+ const modules = Object.keys(this.get('model.modules')).sort();
if(query) {
const regExp = new RegExp(query,"i");
return modules.filter((p) => p.search(regExp) != -1);
diff --git a/javascript/app/controllers/package/search.js b/javascript/app/controllers/package/search.js
index 46f2efd..159b79a 100644
--- a/javascript/app/controllers/package/search.js
+++ b/javascript/app/controllers/package/search.js
@@ -4,7 +4,7 @@ import {goToDefinition} from '../../utils/go-to-definition';
export default Ember.Controller.extend({
store : Ember.inject.service('store'),
actions : {
- goToDefinition (locationInfo,event) {
+ goToDefinition (locationInfo,event) {
goToDefinition(this.get('store'),
locationInfo,
event.which,