Skip to content

Commit

Permalink
Fixed linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
superlou committed Nov 19, 2018
1 parent 67ab748 commit e402b62
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 10 deletions.
1 change: 0 additions & 1 deletion app/components/player-controls.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import Component from '@ember/component';
import { inject } from '@ember/service';
import { computed } from '@ember/object';

export default Component.extend({
player: inject(),
Expand Down
1 change: 0 additions & 1 deletion app/controllers/settings.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import Controller from '@ember/controller';
import { inject } from '@ember/service';
import { alias } from '@ember/object/computed';

export default Controller.extend({
player: inject(),
Expand Down
4 changes: 1 addition & 3 deletions app/routes/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import Route from '@ember/routing/route';
import { inject } from '@ember/service';
import { task } from 'ember-concurrency';

export default Route.extend({
beforeModel(transition) {
beforeModel(/*transition*/) {
this.transitionTo('media');
}
});
2 changes: 1 addition & 1 deletion app/routes/media.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default Route.extend({
this.get('uploadMediaFile').perform(file);
},

error(error, transition) {
error(/*error, transition*/) {
this.transitionTo('settings');
}
},
Expand Down
2 changes: 1 addition & 1 deletion app/routes/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { inject } from '@ember/service';
export default Route.extend({
player: inject(),

setupController(controller, model) {
setupController(controller, /*model*/) {
controller.set('apiDomain', this.get('player.apiDomain'));
}
});
7 changes: 5 additions & 2 deletions app/templates/components/player-controls.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@
</div>
</div>

{{playback-bar duration=player.duration position=player.position
seek=(action "seek")}}
{{playback-bar
duration=player.duration
position=player.position
seek=(action "seek")
}}
2 changes: 1 addition & 1 deletion app/templates/settings.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{#if player.isConnected}}
<div class="message message-good">
{{fa-icon "check-circle"}} PiDeck connection OK.
Return to {{#link-to 'media'}}Media{{/link-to}}.
Return to {{#link-to "media"}}Media{{/link-to}}.
</div>
{{else}}
<div class="message message-bad">
Expand Down

0 comments on commit e402b62

Please sign in to comment.