aboutsummaryrefslogtreecommitdiff
path: root/javascript/app/routes
diff options
context:
space:
mode:
authoralexwl <alexey.a.kiryushin@gmail.com>2019-02-20 12:48:48 +0300
committeralexwl <alexey.a.kiryushin@gmail.com>2019-02-20 12:48:48 +0300
commitc831f86d259b6d949b0f71b894c7f2b07b4eed15 (patch)
tree3d0831e2ae84d0d576e5c808b488db7b7cd12aa8 /javascript/app/routes
parentd65f02107a6adce4b45ba9b8ecebf78571612a65 (diff)
Remove unused variables and functions
Diffstat (limited to 'javascript/app/routes')
-rw-r--r--javascript/app/routes/package.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/javascript/app/routes/package.js b/javascript/app/routes/package.js
index 037ed97..e908ca4 100644
--- a/javascript/app/routes/package.js
+++ b/javascript/app/routes/package.js
@@ -8,10 +8,9 @@ export default Ember.Route.extend({
.catch((e) => {console.log(e);this.transitionTo("/package-not-found");});
},
setupController(controller, model) {
- this._super(controller, model);
- const packageId = this.modelFor('package').id;
+ this._super(controller, model);
controller.set('bottomPanelVisible',false);
- },
+ },
actions : {
openFile (filePath) {
this.transitionTo('package.show.file',filePath);