Cleaning up jargon and minor code changes

This commit is contained in:
Colin McLeod
2015-04-16 19:44:39 -07:00
parent aad4600326
commit 11e5c138dc
30 changed files with 67 additions and 60 deletions

View File

@@ -15,7 +15,7 @@ angular.module('shipyard').factory('ShipFactory', ['components', 'lodash', funct
angular.forEach(shipData,function(o,k){
if(typeof o != 'object') {
this[k] = o;
} else if (k == 'componentCapacity') {
} else if (k == 'slotCap') {
angular.forEach(o,function(arr,g){
this[g] = [];
for(var i = 0; i < arr.length; i++){