Another fix to lint errors

This commit is contained in:
Kevin Chang
2015-07-30 20:18:33 -07:00
parent d278a7c1fd
commit 80da41c866

View File

@@ -185,7 +185,7 @@ angular.module('app').controller('OutfitController', ['$window', '$rootScope', '
ship.hardpoints.forEach(function(slot) { ship.use(slot, null, null); });
ship.internal.forEach(function(slot) { ship.use(slot, null, null); });
ship.internal.some(function(slot) {
if (typeof slot.eligible === "undefined") { // Assuming largest slot can hold an eligible shield
if (typeof slot.eligible === 'undefined') { // Assuming largest slot can hold an eligible shield
id = Components.findInternalId('Shield Generator', slot.maxClass, 'A');
ship.use(slot, id, Components.internal(id));
return true;