| Total Complexity | 1 |
| Complexity/F | 1 |
| Lines of Code | 17 |
| Function Count | 1 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | 'use strict'; |
||
| 2 | |||
| 3 | angular.module('game').component('redox', { |
||
| 4 | templateUrl: 'views/redox.html', |
||
| 5 | controller: ['state', 'data', 'visibility', 'util', 'format', 'reaction', redox], |
||
| 6 | controllerAs: 'ct' |
||
| 7 | }); |
||
| 8 | |||
| 9 | function redox(state, data, visibility, util, format, reaction) { |
||
| 10 | let ct = this; |
||
| 11 | ct.state = state; |
||
| 12 | ct.data = data; |
||
| 13 | ct.visibility = visibility; |
||
| 14 | ct.util = util; |
||
| 15 | ct.format = format; |
||
| 16 | ct.reaction = reaction; |
||
| 17 | } |
||
| 18 |