Passed
Push — master ( 8e7a04...f78861 )
by
unknown
11:43 queued 16s
created

myems-admin/app/controllers/settings/hybridpowerstation/hybridpowerstation.master.controller.js   A

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 10
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 4
dl 0
loc 10
rs 10
c 0
b 0
f 0
mnd 0
bc 0
fnc 2
bpm 0
cpm 1
noi 0
1
'use strict';
2
3
app.controller('HybridPowerStationMasterController', function($scope) {
4
5
6
	$scope.$on('handleEmitHybridPowerStationChanged', function(event) {
7
		$scope.$broadcast('handleBroadcastHybridPowerStationChanged');
8
	});
9
10
});
11