Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 50 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | 'use strict'; |
||
2 | |||
3 | angular |
||
4 | .module('game') |
||
5 | .config(['$stateProvider', |
||
6 | function($stateProvider) { |
||
7 | $stateProvider |
||
8 | .state('generators', { |
||
9 | component: 'generators' |
||
10 | }) |
||
11 | .state('redox', { |
||
12 | component: 'redox' |
||
13 | }) |
||
14 | .state('reactions', { |
||
15 | component: 'reactions' |
||
16 | }) |
||
17 | .state('fusion', { |
||
18 | component: 'fusion' |
||
19 | }) |
||
20 | .state('upgrades', { |
||
21 | component: 'upgrades' |
||
22 | }) |
||
23 | .state('exotic', { |
||
24 | component: 'exotic' |
||
25 | }) |
||
26 | .state('dark', { |
||
27 | component: 'dark' |
||
28 | }) |
||
29 | .state('elements', { |
||
30 | component: 'elements' |
||
31 | }) |
||
32 | .state('achievements', { |
||
33 | component: 'achievements' |
||
34 | }) |
||
35 | .state('dashboard', { |
||
36 | component: 'dashboard' |
||
37 | }) |
||
38 | .state('statistics', { |
||
39 | component: 'statistics' |
||
40 | }) |
||
41 | .state('options', { |
||
42 | component: 'options' |
||
43 | }); |
||
44 | } |
||
45 | ]).run([ |
||
46 | '$state', |
||
47 | function($state) { |
||
48 | $state.go('generators'); |
||
49 | } |
||
50 | ]); |
||
51 |