diff --git a/app/js/controllers/controller-outfit.js b/app/js/controllers/controller-outfit.js index ec911f02..d7c0e865 100755 --- a/app/js/controllers/controller-outfit.js +++ b/app/js/controllers/controller-outfit.js @@ -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() { diff --git a/app/js/directives/directive-component-select.js b/app/js/directives/directive-component-select.js index a40d6629..bd65f521 100755 --- a/app/js/directives/directive-component-select.js +++ b/app/js/directives/directive-component-select.js @@ -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 = []; diff --git a/test/fixtures/anaconda-test-detailed-export.json b/test/fixtures/anaconda-test-detailed-export.json index 6b8ef67e..7e82c5a7 100644 --- a/test/fixtures/anaconda-test-detailed-export.json +++ b/test/fixtures/anaconda-test-detailed-export.json @@ -188,6 +188,7 @@ "hullCost": 141889932, "speed": 180, "boost": 240, + "boostEnergy": 29, "agility": 2, "baseShieldStrength": 350, "baseArmour": 945,