mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 05:37:53 +00:00
[Timeline] Remove unused function
Removal of domain objects is handled by using the move action.
This commit is contained in:
parent
b2337dea97
commit
3c52ceb71a
@ -80,12 +80,6 @@ define(
|
||||
return swimlane.children.map(matches).reduce(or, false);
|
||||
}
|
||||
|
||||
// Remove a domain object from its current location
|
||||
function remove(domainObject) {
|
||||
return domainObject &&
|
||||
domainObject.getCapability('action').perform('remove');
|
||||
}
|
||||
|
||||
// Initiate mutation of a domain object
|
||||
function doMutate(domainObject, mutator) {
|
||||
return asPromise(
|
||||
|
Loading…
Reference in New Issue
Block a user