Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 14 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Coverage | 100% |
Changes | 0 |
1 | import {IAdapter} from './View/Application'; |
||
2 | |||
3 | export default class ApplicationAction { |
||
4 | get adapter(): IAdapter { |
||
5 | 1 | return { |
|
6 | onGithubClick: this.openGithubWindow.bind(this) |
||
7 | } |
||
8 | } |
||
9 | |||
10 | protected openGithubWindow(): void { |
||
11 | 1 | window.open('https://github.com/enbock/Time-Tracker/', '_blank'); |
|
12 | } |
||
13 | } |
||
14 |