Created
March 19, 2016 21:14
-
-
Save JeremyLikness/9ecffda9936a217ec3a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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