From dc9369c0f1d824392ec357b1f005c2ba1b71ea4d Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Fri, 23 Oct 2015 13:54:19 -0700 Subject: [PATCH] [Timelines] Remove namespacing from controllers WTD-1239 --- .../timeline/src/controllers/ActivityModeValuesController.js | 4 ++-- .../src/controllers/drag/TimelineDragHandleFactory.js | 4 ++-- .../src/controllers/swimlane/TimelineSwimlaneDecorator.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/platform/features/timeline/src/controllers/ActivityModeValuesController.js b/platform/features/timeline/src/controllers/ActivityModeValuesController.js index be6d461d09..20b82e7e5c 100644 --- a/platform/features/timeline/src/controllers/ActivityModeValuesController.js +++ b/platform/features/timeline/src/controllers/ActivityModeValuesController.js @@ -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; } -); \ No newline at end of file +); diff --git a/platform/features/timeline/src/controllers/drag/TimelineDragHandleFactory.js b/platform/features/timeline/src/controllers/drag/TimelineDragHandleFactory.js index 7f36e303db..e50ec8c8b7 100644 --- a/platform/features/timeline/src/controllers/drag/TimelineDragHandleFactory.js +++ b/platform/features/timeline/src/controllers/drag/TimelineDragHandleFactory.js @@ -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; } -); \ No newline at end of file +); diff --git a/platform/features/timeline/src/controllers/swimlane/TimelineSwimlaneDecorator.js b/platform/features/timeline/src/controllers/swimlane/TimelineSwimlaneDecorator.js index 28fabbb94b..a666a15e1a 100644 --- a/platform/features/timeline/src/controllers/swimlane/TimelineSwimlaneDecorator.js +++ b/platform/features/timeline/src/controllers/swimlane/TimelineSwimlaneDecorator.js @@ -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; } -); \ No newline at end of file +);