Skip to content

Commit

Permalink
#84 - removed unused lines in now-playing component
Browse files Browse the repository at this point in the history
  • Loading branch information
orizens committed Jan 7, 2016
1 parent 15e45b0 commit 4379497
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions src/components/now-playing/now-playlist/now-playlist.component.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
import template from './now-playlist.tpl.html';

export let NowPlaylistComponent = {
template,
controllerAs: 'nowPlaylist',
// or "bindings" to follow ng1.5 "component" factory
scope: {
videos: '=',
filter: '=',
nowPlaying: '=',
onSelect: '&',
onRemove: '&',
onSort: '&'
},
bindToController: true,
replace: true,
restrict: 'E',
controller:
/* @ngInject */
template,
controllerAs: 'nowPlaylist',
// or "bindings" to follow ng1.5 "component" factory
scope: {
videos: '=',
filter: '=',
nowPlaying: '=',
onSelect: '&',
onRemove: '&',
onSort: '&'
},
bindToController: true,
replace: true,
restrict: 'E',
controller:
class NowPlaylistCtrl {
/* @ngInject */
constructor () {
Expand Down

0 comments on commit 4379497

Please sign in to comment.