mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-11 16:53:02 +00:00
Cleaned up lint errors
This commit is contained in:
@@ -418,11 +418,10 @@ angular.module('app').controller('OutfitController', ['$window', '$rootScope', '
|
|||||||
var costs = $scope.ammoList = [];
|
var costs = $scope.ammoList = [];
|
||||||
var total = 0, i, l, item;
|
var total = 0, i, l, item;
|
||||||
|
|
||||||
for (var g in { common: 1, internal: 1, hardpoints: 1}) {
|
for (var g in { common: 1, internal: 1, hardpoints: 1 }) {
|
||||||
var slotGroup = ship[g];
|
var slotGroup = ship[g];
|
||||||
for (i = 0, l = slotGroup.length; i < l; i++) {
|
for (i = 0, l = slotGroup.length; i < l; i++) {
|
||||||
var q = 0;
|
var q = 0;
|
||||||
console.log(slotGroup[i]);
|
|
||||||
if (slotGroup[i].id) {
|
if (slotGroup[i].id) {
|
||||||
//special cases needed for fuel, SCB and AFMU since they don't use standard ammo/clip
|
//special cases needed for fuel, SCB and AFMU since they don't use standard ammo/clip
|
||||||
if (slotGroup[i].c.grp == 'ft') {
|
if (slotGroup[i].c.grp == 'ft') {
|
||||||
|
|||||||
Reference in New Issue
Block a user