aboutsummaryrefslogtreecommitdiff
path: root/javascript/app/controllers/package
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-09-19 11:22:21 +1000
committerYuchen Pei <hi@ypei.me>2022-09-19 11:22:21 +1000
commitef1b927861f9a949aed20341144ffb5bfd42f038 (patch)
tree48bd4688928546bedc6504aad76bf6e0327fcef9 /javascript/app/controllers/package
parent117850d8f659517cb818a857dc04c8f5157795c4 (diff)
Removing the web client
Diffstat (limited to 'javascript/app/controllers/package')
-rw-r--r--javascript/app/controllers/package/index.js14
-rw-r--r--javascript/app/controllers/package/search.js15
-rw-r--r--javascript/app/controllers/package/show/file.js9
3 files changed, 0 insertions, 38 deletions
diff --git a/javascript/app/controllers/package/index.js b/javascript/app/controllers/package/index.js
deleted file mode 100644
index dabb196..0000000
--- a/javascript/app/controllers/package/index.js
+++ /dev/null
@@ -1,14 +0,0 @@
-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();
- if(query) {
- const regExp = new RegExp(query,"i");
- return modules.filter((p) => p.search(regExp) != -1);
- } else {
- return modules;
- }
- })
-});
-
diff --git a/javascript/app/controllers/package/search.js b/javascript/app/controllers/package/search.js
deleted file mode 100644
index 159b79a..0000000
--- a/javascript/app/controllers/package/search.js
+++ /dev/null
@@ -1,15 +0,0 @@
-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;
- }
- }
-});
diff --git a/javascript/app/controllers/package/show/file.js b/javascript/app/controllers/package/show/file.js
deleted file mode 100644
index b046bc2..0000000
--- a/javascript/app/controllers/package/show/file.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import Ember from 'ember';
-export default Ember.Controller.extend({
- settings : Ember.inject.service('settings'),
- actions : {
- findReferences(packageId,externalId,occName,locationInfo) {
- this.send('updateReferences',packageId,externalId,occName,locationInfo);
- }
- }
-});