mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 07:05:35 +00:00
Linting fixes, update unit test
This commit is contained in:
@@ -373,7 +373,7 @@ angular.module('app').controller('OutfitController', ['$window', '$rootScope', '
|
||||
|
||||
$scope.pdWarning = function(pd) {
|
||||
return pd.enginecapacity < ship.boostEnergy;
|
||||
}
|
||||
};
|
||||
|
||||
// Hide any open menu/slot/etc if the background is clicked
|
||||
$scope.$on('close', function() {
|
||||
|
||||
@@ -52,7 +52,7 @@ angular.module('app').directive('componentSelect', function() {
|
||||
groups: '=', // Groups of Component Options
|
||||
mass: '=', // Current ship unladen mass
|
||||
s: '=', // Current Slot
|
||||
warning: '=', // Check warning function
|
||||
warning: '=' // Check warning function
|
||||
},
|
||||
link: function(scope, element) {
|
||||
var list = [];
|
||||
|
||||
Reference in New Issue
Block a user