Linting fixes, update unit test

This commit is contained in:
Colin McLeod
2015-07-20 13:42:21 -07:00
parent c96e6afbd7
commit b1ee0e44f3
3 changed files with 3 additions and 2 deletions

View File

@@ -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() {

View File

@@ -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 = [];

View File

@@ -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,