From c831f86d259b6d949b0f71b894c7f2b07b4eed15 Mon Sep 17 00:00:00 2001 From: alexwl Date: Wed, 20 Feb 2019 12:48:48 +0300 Subject: Remove unused variables and functions --- javascript/app/routes/package.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'javascript/app/routes') 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); -- cgit v1.2.3