mirror of
https://github.com/nasa/openmct.git
synced 2025-04-20 17:11:11 +00:00
[Timelines] Remove namespacing from controllers
WTD-1239
This commit is contained in:
parent
c5b786e5e0
commit
dc9369c0f1
@ -9,7 +9,7 @@ define(
|
||||
* Controller which support the Values view of Activity Modes.
|
||||
* @constructor
|
||||
* @param {Array} resources definitions for extensions of
|
||||
* category `warp.resources`
|
||||
* category `resources`
|
||||
*/
|
||||
function ActivityModeValuesController(resources) {
|
||||
var metadata = {};
|
||||
@ -38,4 +38,4 @@ define(
|
||||
|
||||
return ActivityModeValuesController;
|
||||
}
|
||||
);
|
||||
);
|
||||
|
@ -43,7 +43,7 @@ define(
|
||||
}
|
||||
|
||||
// Instantiate smaller set of handles for timelines
|
||||
return (type && type.instanceOf('warp.timeline') ?
|
||||
return (type && type.instanceOf('timeline') ?
|
||||
TIMELINE_HANDLES : DEFAULT_HANDLES)
|
||||
.map(instantiate);
|
||||
}
|
||||
@ -52,4 +52,4 @@ define(
|
||||
|
||||
return TimelineDragHandleFactory;
|
||||
}
|
||||
);
|
||||
);
|
||||
|
@ -63,7 +63,7 @@ define(
|
||||
}
|
||||
|
||||
// Activities should have the Activity Modes and Activity Link dialog
|
||||
if (type && type.instanceOf("warp.activity") && mutator && persister) {
|
||||
if (type && type.instanceOf("activity") && mutator && persister) {
|
||||
swimlane.modes = modes;
|
||||
swimlane.link = link;
|
||||
}
|
||||
@ -90,4 +90,4 @@ define(
|
||||
|
||||
return TimelineSwimlaneDecorator;
|
||||
}
|
||||
);
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user