mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-11 08:43:02 +00:00
Refactoring of just about everything, interface beginning to come together
This commit is contained in:
@@ -65,6 +65,12 @@ angular.module('shipyard').factory('components', ['lodash', function (_) {
|
||||
return {
|
||||
forShip: function (shipId) {
|
||||
return new ComponentSet(shipId);
|
||||
},
|
||||
findInternal: function(id) {
|
||||
var c = _.find(C.internal, function(o) {
|
||||
return o[id];
|
||||
})
|
||||
return c[id];
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user