[Timelines] Remove namespacing from controllers

WTD-1239
This commit is contained in:
Victor Woeltjen
2015-10-23 13:54:19 -07:00
parent c5b786e5e0
commit dc9369c0f1
3 changed files with 6 additions and 6 deletions

View File

@@ -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 = {};

View File

@@ -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);
}

View File

@@ -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;
}