Completed
Push — master ( 945660...93c692 )
by Andres
30s
created

statistics.js ➔ statistics   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
nc 1
dl 0
loc 5
rs 9.4285
nop 1
1
/**
2
 getHtml
3
 Simple component to retrieve the HTML value of a resource.
4
5
 @namespace Components
6
 */
7
'use strict';
8
9
angular.module('game').component('statistics', {
10
  templateUrl: 'views/statistics.html',
11
  controller: ['state', statistics],
12
  controllerAs: 'ct'
13
});
14
15
function statistics( state) {
16
  let ct = this;
17
  ct.state = state;
18
  ct.keys = Object.keys;
19
}
20