Guest User

Untitled

a guest
May 24th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. import { CommitCommands } from '../domain/commit-commands';
  2.  
  3. @Component({
  4. selector: 'commits-container',
  5. templateUrl: './commits.container.html',
  6. styleUrls: ['./commits.container.scss'],
  7. changeDetection: ChangeDetectionStrategy.OnPush
  8. })
  9. export class CommitsContainer implements OnInit {
  10. commits: Observable<Commit[]>;
  11.  
  12. constructor(private commands: CommitCommands) {
  13. this.commands.loadCommits({username: 'christian'});
  14. }
  15. }
Add Comment
Please, Sign In to add comment