Skip to content

Instantly share code, notes, and snippets.

@JeremyLikness
Created March 19, 2016 21:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JeremyLikness/9ecffda9936a217ec3a7 to your computer and use it in GitHub Desktop.
Save JeremyLikness/9ecffda9936a217ec3a7 to your computer and use it in GitHub Desktop.
import {Component, Inject} from 'angular2/core';
import {Hexadecimal} from '../pipes/hexadecimal';
import {EightBits} from '../pipes/eightbits';
import {ICpu} from '../emulator/interfaces';
import {Cpu} from '../emulator/cpu';
@Component({
selector: 'cpuStats',
templateUrl: 'templates/cpuStats.html',
pipes: [Hexadecimal, EightBits]
})
export class CpuStats {
constructor(@Inject(Cpu)public cpu: ICpu) {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment