mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 22:55: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) {
|
$scope.pdWarning = function(pd) {
|
||||||
return pd.enginecapacity < ship.boostEnergy;
|
return pd.enginecapacity < ship.boostEnergy;
|
||||||
}
|
};
|
||||||
|
|
||||||
// Hide any open menu/slot/etc if the background is clicked
|
// Hide any open menu/slot/etc if the background is clicked
|
||||||
$scope.$on('close', function() {
|
$scope.$on('close', function() {
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ angular.module('app').directive('componentSelect', function() {
|
|||||||
groups: '=', // Groups of Component Options
|
groups: '=', // Groups of Component Options
|
||||||
mass: '=', // Current ship unladen mass
|
mass: '=', // Current ship unladen mass
|
||||||
s: '=', // Current Slot
|
s: '=', // Current Slot
|
||||||
warning: '=', // Check warning function
|
warning: '=' // Check warning function
|
||||||
},
|
},
|
||||||
link: function(scope, element) {
|
link: function(scope, element) {
|
||||||
var list = [];
|
var list = [];
|
||||||
|
|||||||
@@ -188,6 +188,7 @@
|
|||||||
"hullCost": 141889932,
|
"hullCost": 141889932,
|
||||||
"speed": 180,
|
"speed": 180,
|
||||||
"boost": 240,
|
"boost": 240,
|
||||||
|
"boostEnergy": 29,
|
||||||
"agility": 2,
|
"agility": 2,
|
||||||
"baseShieldStrength": 350,
|
"baseShieldStrength": 350,
|
||||||
"baseArmour": 945,
|
"baseArmour": 945,
|
||||||
|
|||||||
Reference in New Issue
Block a user