diff --git a/lib/Modeler.js b/lib/Modeler.js index 38f864e6..5845dfe4 100644 --- a/lib/Modeler.js +++ b/lib/Modeler.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import Ids from 'ids'; diff --git a/lib/NavigatedViewer.js b/lib/NavigatedViewer.js index 1f884e4f..1d799472 100644 --- a/lib/NavigatedViewer.js +++ b/lib/NavigatedViewer.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import Viewer from './Viewer'; diff --git a/lib/Viewer.js b/lib/Viewer.js index 2d0b09d9..8d3c0fd4 100644 --- a/lib/Viewer.js +++ b/lib/Viewer.js @@ -4,8 +4,6 @@ * * @see http://bpmn.io/license for more information. */ -'use strict'; - import { assign, isNumber, diff --git a/lib/draw/BpmnRenderUtil.js b/lib/draw/BpmnRenderUtil.js index 186195b6..d5c9443a 100644 --- a/lib/draw/BpmnRenderUtil.js +++ b/lib/draw/BpmnRenderUtil.js @@ -1,5 +1,3 @@ -'use strict'; - import { every, some diff --git a/lib/draw/BpmnRenderer.js b/lib/draw/BpmnRenderer.js index f434061b..3a714796 100644 --- a/lib/draw/BpmnRenderer.js +++ b/lib/draw/BpmnRenderer.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import { diff --git a/lib/draw/PathMap.js b/lib/draw/PathMap.js index cf058f65..f5d024b7 100644 --- a/lib/draw/PathMap.js +++ b/lib/draw/PathMap.js @@ -1,5 +1,3 @@ -'use strict'; - /** * Map containing SVG paths needed by BpmnRenderer. */ diff --git a/lib/features/auto-place/AutoPlace.js b/lib/features/auto-place/AutoPlace.js index a513fa49..d42f168f 100644 --- a/lib/features/auto-place/AutoPlace.js +++ b/lib/features/auto-place/AutoPlace.js @@ -1,5 +1,3 @@ -'use strict'; - import { is } from '../../util/ModelUtil'; import { isAny } from '../modeling/util/ModelingUtil'; diff --git a/lib/features/auto-place/AutoPlaceSelectionBehavior.js b/lib/features/auto-place/AutoPlaceSelectionBehavior.js index 4e03820f..6024694c 100644 --- a/lib/features/auto-place/AutoPlaceSelectionBehavior.js +++ b/lib/features/auto-place/AutoPlaceSelectionBehavior.js @@ -1,5 +1,3 @@ -'use strict'; - /** * Select element after auto placement. * diff --git a/lib/features/auto-place/AutoPlaceUtil.js b/lib/features/auto-place/AutoPlaceUtil.js index 8a9cc3b3..dda65154 100644 --- a/lib/features/auto-place/AutoPlaceUtil.js +++ b/lib/features/auto-place/AutoPlaceUtil.js @@ -1,5 +1,3 @@ -'use strict'; - import { is } from '../../util/ModelUtil'; import { diff --git a/lib/features/auto-resize/BpmnAutoResizeProvider.js b/lib/features/auto-resize/BpmnAutoResizeProvider.js index 5aaccfcb..d44e9aa6 100644 --- a/lib/features/auto-resize/BpmnAutoResizeProvider.js +++ b/lib/features/auto-resize/BpmnAutoResizeProvider.js @@ -1,5 +1,3 @@ -'use strict'; - import { is } from '../../util/ModelUtil'; import inherits from 'inherits'; diff --git a/lib/features/context-pad/ContextPadProvider.js b/lib/features/context-pad/ContextPadProvider.js index f63f7490..d283173b 100644 --- a/lib/features/context-pad/ContextPadProvider.js +++ b/lib/features/context-pad/ContextPadProvider.js @@ -1,5 +1,3 @@ -'use strict'; - import { assign, forEach, diff --git a/lib/features/copy-paste/BpmnCopyPaste.js b/lib/features/copy-paste/BpmnCopyPaste.js index e6cf2cad..19418c7b 100644 --- a/lib/features/copy-paste/BpmnCopyPaste.js +++ b/lib/features/copy-paste/BpmnCopyPaste.js @@ -1,5 +1,3 @@ -'use strict'; - import { getBusinessObject, is diff --git a/lib/features/distribute-elements/BpmnDistributeElements.js b/lib/features/distribute-elements/BpmnDistributeElements.js index f45fc5cd..ce63a419 100644 --- a/lib/features/distribute-elements/BpmnDistributeElements.js +++ b/lib/features/distribute-elements/BpmnDistributeElements.js @@ -1,5 +1,3 @@ -'use strict'; - import { filter } from 'min-dash'; diff --git a/lib/features/editor-actions/BpmnEditorActions.js b/lib/features/editor-actions/BpmnEditorActions.js index 83eb0e72..cb70ce41 100644 --- a/lib/features/editor-actions/BpmnEditorActions.js +++ b/lib/features/editor-actions/BpmnEditorActions.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import EditorActions from 'diagram-js/lib/features/editor-actions/EditorActions'; diff --git a/lib/features/global-connect/BpmnGlobalConnect.js b/lib/features/global-connect/BpmnGlobalConnect.js index 6983abb8..a3867f76 100644 --- a/lib/features/global-connect/BpmnGlobalConnect.js +++ b/lib/features/global-connect/BpmnGlobalConnect.js @@ -1,5 +1,3 @@ -'use strict'; - import { isAny } from '../modeling/util/ModelingUtil'; diff --git a/lib/features/keyboard/BpmnKeyBindings.js b/lib/features/keyboard/BpmnKeyBindings.js index dbb46bac..e1d8bd38 100644 --- a/lib/features/keyboard/BpmnKeyBindings.js +++ b/lib/features/keyboard/BpmnKeyBindings.js @@ -1,5 +1,3 @@ -'use strict'; - /** * BPMN 2.0 specific key bindings. * diff --git a/lib/features/label-editing/LabelEditingProvider.js b/lib/features/label-editing/LabelEditingProvider.js index 78cc29b6..483794c9 100644 --- a/lib/features/label-editing/LabelEditingProvider.js +++ b/lib/features/label-editing/LabelEditingProvider.js @@ -1,5 +1,3 @@ -'use strict'; - import { assign } from 'min-dash'; diff --git a/lib/features/label-editing/LabelUtil.js b/lib/features/label-editing/LabelUtil.js index 54ca98df..05f37dad 100644 --- a/lib/features/label-editing/LabelUtil.js +++ b/lib/features/label-editing/LabelUtil.js @@ -1,5 +1,3 @@ -'use strict'; - import { is } from '../../util/ModelUtil'; function getLabelAttr(semantic) { diff --git a/lib/features/label-editing/cmd/UpdateLabelHandler.js b/lib/features/label-editing/cmd/UpdateLabelHandler.js index d8531704..86f18354 100644 --- a/lib/features/label-editing/cmd/UpdateLabelHandler.js +++ b/lib/features/label-editing/cmd/UpdateLabelHandler.js @@ -1,5 +1,3 @@ -'use strict'; - import { setLabel, getLabel diff --git a/lib/features/modeling/BpmnFactory.js b/lib/features/modeling/BpmnFactory.js index 606f6303..777ce6bd 100644 --- a/lib/features/modeling/BpmnFactory.js +++ b/lib/features/modeling/BpmnFactory.js @@ -1,5 +1,3 @@ -'use strict'; - import { map, assign, diff --git a/lib/features/modeling/BpmnLayouter.js b/lib/features/modeling/BpmnLayouter.js index f67ddfdc..8ecae7f9 100644 --- a/lib/features/modeling/BpmnLayouter.js +++ b/lib/features/modeling/BpmnLayouter.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import { diff --git a/lib/features/modeling/BpmnUpdater.js b/lib/features/modeling/BpmnUpdater.js index 4ac25887..c395c701 100644 --- a/lib/features/modeling/BpmnUpdater.js +++ b/lib/features/modeling/BpmnUpdater.js @@ -1,5 +1,3 @@ -'use strict'; - import { assign, forEach diff --git a/lib/features/modeling/ElementFactory.js b/lib/features/modeling/ElementFactory.js index ad544e4c..8f239207 100644 --- a/lib/features/modeling/ElementFactory.js +++ b/lib/features/modeling/ElementFactory.js @@ -1,5 +1,3 @@ -'use strict'; - import { assign, forEach diff --git a/lib/features/modeling/Modeling.js b/lib/features/modeling/Modeling.js index 39c1be54..3e54c444 100644 --- a/lib/features/modeling/Modeling.js +++ b/lib/features/modeling/Modeling.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import BaseModeling from 'diagram-js/lib/features/modeling/Modeling'; diff --git a/lib/features/modeling/behavior/AdaptiveLabelPositioningBehavior.js b/lib/features/modeling/behavior/AdaptiveLabelPositioningBehavior.js index 16f285d3..9aee6819 100644 --- a/lib/features/modeling/behavior/AdaptiveLabelPositioningBehavior.js +++ b/lib/features/modeling/behavior/AdaptiveLabelPositioningBehavior.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import { diff --git a/lib/features/modeling/behavior/AppendBehavior.js b/lib/features/modeling/behavior/AppendBehavior.js index edf661de..b569f56b 100644 --- a/lib/features/modeling/behavior/AppendBehavior.js +++ b/lib/features/modeling/behavior/AppendBehavior.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import { is } from '../../../util/ModelUtil'; diff --git a/lib/features/modeling/behavior/CopyPasteBehavior.js b/lib/features/modeling/behavior/CopyPasteBehavior.js index 5b8386d4..7e6f6c2f 100644 --- a/lib/features/modeling/behavior/CopyPasteBehavior.js +++ b/lib/features/modeling/behavior/CopyPasteBehavior.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import { diff --git a/lib/features/modeling/behavior/CreateBoundaryEventBehavior.js b/lib/features/modeling/behavior/CreateBoundaryEventBehavior.js index 3dc62987..a4685049 100644 --- a/lib/features/modeling/behavior/CreateBoundaryEventBehavior.js +++ b/lib/features/modeling/behavior/CreateBoundaryEventBehavior.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; diff --git a/lib/features/modeling/behavior/CreateDataObjectBehavior.js b/lib/features/modeling/behavior/CreateDataObjectBehavior.js index 5c1d4051..57532feb 100644 --- a/lib/features/modeling/behavior/CreateDataObjectBehavior.js +++ b/lib/features/modeling/behavior/CreateDataObjectBehavior.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; diff --git a/lib/features/modeling/behavior/CreateParticipantBehavior.js b/lib/features/modeling/behavior/CreateParticipantBehavior.js index 70ece9a2..652392d2 100644 --- a/lib/features/modeling/behavior/CreateParticipantBehavior.js +++ b/lib/features/modeling/behavior/CreateParticipantBehavior.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; diff --git a/lib/features/modeling/behavior/DataInputAssociationBehavior.js b/lib/features/modeling/behavior/DataInputAssociationBehavior.js index 0bf50984..59a251fe 100644 --- a/lib/features/modeling/behavior/DataInputAssociationBehavior.js +++ b/lib/features/modeling/behavior/DataInputAssociationBehavior.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; diff --git a/lib/features/modeling/behavior/DeleteLaneBehavior.js b/lib/features/modeling/behavior/DeleteLaneBehavior.js index ace99c59..53bd506a 100644 --- a/lib/features/modeling/behavior/DeleteLaneBehavior.js +++ b/lib/features/modeling/behavior/DeleteLaneBehavior.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; diff --git a/lib/features/modeling/behavior/DropOnFlowBehavior.js b/lib/features/modeling/behavior/DropOnFlowBehavior.js index 06b01468..6ef66e7a 100644 --- a/lib/features/modeling/behavior/DropOnFlowBehavior.js +++ b/lib/features/modeling/behavior/DropOnFlowBehavior.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import { diff --git a/lib/features/modeling/behavior/ImportDockingFix.js b/lib/features/modeling/behavior/ImportDockingFix.js index 3fa8fcbb..1483db0d 100644 --- a/lib/features/modeling/behavior/ImportDockingFix.js +++ b/lib/features/modeling/behavior/ImportDockingFix.js @@ -1,5 +1,3 @@ -'use strict'; - import { getMid } from 'diagram-js/lib/layout/LayoutUtil'; diff --git a/lib/features/modeling/behavior/LabelBehavior.js b/lib/features/modeling/behavior/LabelBehavior.js index 7f3f5262..3d37b991 100644 --- a/lib/features/modeling/behavior/LabelBehavior.js +++ b/lib/features/modeling/behavior/LabelBehavior.js @@ -1,5 +1,3 @@ -'use strict'; - import { assign } from 'min-dash'; diff --git a/lib/features/modeling/behavior/ModelingFeedback.js b/lib/features/modeling/behavior/ModelingFeedback.js index d851ce5c..18e98c18 100644 --- a/lib/features/modeling/behavior/ModelingFeedback.js +++ b/lib/features/modeling/behavior/ModelingFeedback.js @@ -1,5 +1,3 @@ -'use strict'; - import { is } from '../../../util/ModelUtil'; var COLLAB_ERR_MSG = 'flow elements must be children of pools/participants', diff --git a/lib/features/modeling/behavior/RemoveElementBehavior.js b/lib/features/modeling/behavior/RemoveElementBehavior.js index 6990664e..b006ad85 100644 --- a/lib/features/modeling/behavior/RemoveElementBehavior.js +++ b/lib/features/modeling/behavior/RemoveElementBehavior.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; diff --git a/lib/features/modeling/behavior/RemoveParticipantBehavior.js b/lib/features/modeling/behavior/RemoveParticipantBehavior.js index 4c378f87..da30e508 100644 --- a/lib/features/modeling/behavior/RemoveParticipantBehavior.js +++ b/lib/features/modeling/behavior/RemoveParticipantBehavior.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; diff --git a/lib/features/modeling/behavior/ReplaceConnectionBehavior.js b/lib/features/modeling/behavior/ReplaceConnectionBehavior.js index 0ae44720..fe5890e3 100644 --- a/lib/features/modeling/behavior/ReplaceConnectionBehavior.js +++ b/lib/features/modeling/behavior/ReplaceConnectionBehavior.js @@ -1,5 +1,3 @@ -'use strict'; - import { forEach, find, diff --git a/lib/features/modeling/behavior/ReplaceElementBehaviour.js b/lib/features/modeling/behavior/ReplaceElementBehaviour.js index 8147311a..01ed6fbe 100644 --- a/lib/features/modeling/behavior/ReplaceElementBehaviour.js +++ b/lib/features/modeling/behavior/ReplaceElementBehaviour.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; diff --git a/lib/features/modeling/behavior/ResizeLaneBehavior.js b/lib/features/modeling/behavior/ResizeLaneBehavior.js index 978f99c2..ca031403 100644 --- a/lib/features/modeling/behavior/ResizeLaneBehavior.js +++ b/lib/features/modeling/behavior/ResizeLaneBehavior.js @@ -1,5 +1,3 @@ -'use strict'; - import { is } from '../../../util/ModelUtil'; import { diff --git a/lib/features/modeling/behavior/ToggleElementCollapseBehaviour.js b/lib/features/modeling/behavior/ToggleElementCollapseBehaviour.js index 284cc684..7e4becd1 100644 --- a/lib/features/modeling/behavior/ToggleElementCollapseBehaviour.js +++ b/lib/features/modeling/behavior/ToggleElementCollapseBehaviour.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; diff --git a/lib/features/modeling/behavior/UnclaimIdBehavior.js b/lib/features/modeling/behavior/UnclaimIdBehavior.js index 50ac59b0..ada3355e 100644 --- a/lib/features/modeling/behavior/UnclaimIdBehavior.js +++ b/lib/features/modeling/behavior/UnclaimIdBehavior.js @@ -1,5 +1,3 @@ -'use strict'; - import { forEach } from 'min-dash'; diff --git a/lib/features/modeling/behavior/UnsetDefaultFlowBehavior.js b/lib/features/modeling/behavior/UnsetDefaultFlowBehavior.js index 66140a19..9c6f1be4 100644 --- a/lib/features/modeling/behavior/UnsetDefaultFlowBehavior.js +++ b/lib/features/modeling/behavior/UnsetDefaultFlowBehavior.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; diff --git a/lib/features/modeling/behavior/UpdateFlowNodeRefsBehavior.js b/lib/features/modeling/behavior/UpdateFlowNodeRefsBehavior.js index 78e91ef6..1f1bbcde 100644 --- a/lib/features/modeling/behavior/UpdateFlowNodeRefsBehavior.js +++ b/lib/features/modeling/behavior/UpdateFlowNodeRefsBehavior.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; diff --git a/lib/features/modeling/behavior/util/GeometricUtil.js b/lib/features/modeling/behavior/util/GeometricUtil.js index db1dd2dc..c87f18da 100644 --- a/lib/features/modeling/behavior/util/GeometricUtil.js +++ b/lib/features/modeling/behavior/util/GeometricUtil.js @@ -1,5 +1,3 @@ -'use strict'; - /** * Returns the length of a vector * diff --git a/lib/features/modeling/behavior/util/LabelLayoutUtil.js b/lib/features/modeling/behavior/util/LabelLayoutUtil.js index 459c44b1..d99200a5 100644 --- a/lib/features/modeling/behavior/util/LabelLayoutUtil.js +++ b/lib/features/modeling/behavior/util/LabelLayoutUtil.js @@ -1,5 +1,3 @@ -'use strict'; - import { getDistancePointPoint, rotateVector, diff --git a/lib/features/modeling/behavior/util/LineAttachmentUtil.js b/lib/features/modeling/behavior/util/LineAttachmentUtil.js index 5a5dbab4..251543c6 100644 --- a/lib/features/modeling/behavior/util/LineAttachmentUtil.js +++ b/lib/features/modeling/behavior/util/LineAttachmentUtil.js @@ -1,5 +1,3 @@ -'use strict'; - var sqrt = Math.sqrt, min = Math.min, max = Math.max, diff --git a/lib/features/modeling/behavior/util/LineIntersect.js b/lib/features/modeling/behavior/util/LineIntersect.js index b9bfbd12..b7335f82 100644 --- a/lib/features/modeling/behavior/util/LineIntersect.js +++ b/lib/features/modeling/behavior/util/LineIntersect.js @@ -1,5 +1,3 @@ -'use strict'; - /** * Returns the intersection between two line segments a and b. * diff --git a/lib/features/modeling/cmd/AddLaneHandler.js b/lib/features/modeling/cmd/AddLaneHandler.js index 97c22fdd..ba2a34ad 100644 --- a/lib/features/modeling/cmd/AddLaneHandler.js +++ b/lib/features/modeling/cmd/AddLaneHandler.js @@ -1,5 +1,3 @@ -'use strict'; - import { filter } from 'min-dash'; diff --git a/lib/features/modeling/cmd/IdClaimHandler.js b/lib/features/modeling/cmd/IdClaimHandler.js index 88748b00..d8bf3c8a 100644 --- a/lib/features/modeling/cmd/IdClaimHandler.js +++ b/lib/features/modeling/cmd/IdClaimHandler.js @@ -1,5 +1,3 @@ -'use strict'; - export default function IdClaimHandler(moddle) { this._moddle = moddle; } diff --git a/lib/features/modeling/cmd/ResizeLaneHandler.js b/lib/features/modeling/cmd/ResizeLaneHandler.js index f4f395a9..3e7ea09e 100644 --- a/lib/features/modeling/cmd/ResizeLaneHandler.js +++ b/lib/features/modeling/cmd/ResizeLaneHandler.js @@ -1,5 +1,3 @@ -'use strict'; - import { is } from '../../../util/ModelUtil'; import { diff --git a/lib/features/modeling/cmd/SetColorHandler.js b/lib/features/modeling/cmd/SetColorHandler.js index 641aa96c..590cb6c8 100644 --- a/lib/features/modeling/cmd/SetColorHandler.js +++ b/lib/features/modeling/cmd/SetColorHandler.js @@ -1,5 +1,3 @@ -'use strict'; - import { assign, forEach diff --git a/lib/features/modeling/cmd/SplitLaneHandler.js b/lib/features/modeling/cmd/SplitLaneHandler.js index 98cf2fe9..86132d42 100644 --- a/lib/features/modeling/cmd/SplitLaneHandler.js +++ b/lib/features/modeling/cmd/SplitLaneHandler.js @@ -1,5 +1,3 @@ -'use strict'; - import { getChildLanes, LANE_INDENTATION diff --git a/lib/features/modeling/cmd/UpdateCanvasRootHandler.js b/lib/features/modeling/cmd/UpdateCanvasRootHandler.js index 8fb0f2b2..db84ed3d 100644 --- a/lib/features/modeling/cmd/UpdateCanvasRootHandler.js +++ b/lib/features/modeling/cmd/UpdateCanvasRootHandler.js @@ -1,5 +1,3 @@ -'use strict'; - import { add as collectionAdd, remove as collectionRemove diff --git a/lib/features/modeling/cmd/UpdateFlowNodeRefsHandler.js b/lib/features/modeling/cmd/UpdateFlowNodeRefsHandler.js index 025f3a8f..a1a0bfbe 100644 --- a/lib/features/modeling/cmd/UpdateFlowNodeRefsHandler.js +++ b/lib/features/modeling/cmd/UpdateFlowNodeRefsHandler.js @@ -1,5 +1,3 @@ -'use strict'; - import { collectLanes, getLanesRoot diff --git a/lib/features/modeling/cmd/UpdatePropertiesHandler.js b/lib/features/modeling/cmd/UpdatePropertiesHandler.js index ac4d46bc..855eafdc 100644 --- a/lib/features/modeling/cmd/UpdatePropertiesHandler.js +++ b/lib/features/modeling/cmd/UpdatePropertiesHandler.js @@ -1,5 +1,3 @@ -'use strict'; - import { reduce, keys, diff --git a/lib/features/modeling/util/LaneUtil.js b/lib/features/modeling/util/LaneUtil.js index 25ba01e6..3223d3b4 100644 --- a/lib/features/modeling/util/LaneUtil.js +++ b/lib/features/modeling/util/LaneUtil.js @@ -1,5 +1,3 @@ -'use strict'; - import { is } from '../../../util/ModelUtil'; import { diff --git a/lib/features/modeling/util/ModelingUtil.js b/lib/features/modeling/util/ModelingUtil.js index a9d8b8af..871c777c 100644 --- a/lib/features/modeling/util/ModelingUtil.js +++ b/lib/features/modeling/util/ModelingUtil.js @@ -1,5 +1,3 @@ -'use strict'; - import { some } from 'min-dash'; diff --git a/lib/features/ordering/BpmnOrderingProvider.js b/lib/features/ordering/BpmnOrderingProvider.js index 094f912c..86de5c1c 100644 --- a/lib/features/ordering/BpmnOrderingProvider.js +++ b/lib/features/ordering/BpmnOrderingProvider.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import OrderingProvider from 'diagram-js/lib/features/ordering/OrderingProvider'; diff --git a/lib/features/palette/PaletteProvider.js b/lib/features/palette/PaletteProvider.js index 089c746e..7b598112 100644 --- a/lib/features/palette/PaletteProvider.js +++ b/lib/features/palette/PaletteProvider.js @@ -1,5 +1,3 @@ -'use strict'; - import { assign } from 'min-dash'; diff --git a/lib/features/popup-menu/ReplaceMenuProvider.js b/lib/features/popup-menu/ReplaceMenuProvider.js index 921d5c79..1ccf481e 100644 --- a/lib/features/popup-menu/ReplaceMenuProvider.js +++ b/lib/features/popup-menu/ReplaceMenuProvider.js @@ -1,5 +1,3 @@ -'use strict'; - import { getBusinessObject, is diff --git a/lib/features/popup-menu/util/TypeUtil.js b/lib/features/popup-menu/util/TypeUtil.js index 865a964a..431558d3 100644 --- a/lib/features/popup-menu/util/TypeUtil.js +++ b/lib/features/popup-menu/util/TypeUtil.js @@ -1,5 +1,3 @@ -'use strict'; - import { getBusinessObject } from '../../../util/ModelUtil'; diff --git a/lib/features/replace-preview/BpmnReplacePreview.js b/lib/features/replace-preview/BpmnReplacePreview.js index 7a8e8d33..f6416fbe 100644 --- a/lib/features/replace-preview/BpmnReplacePreview.js +++ b/lib/features/replace-preview/BpmnReplacePreview.js @@ -1,5 +1,3 @@ -'use strict'; - import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; import inherits from 'inherits'; diff --git a/lib/features/replace/BpmnReplace.js b/lib/features/replace/BpmnReplace.js index 21c08675..57586e3d 100644 --- a/lib/features/replace/BpmnReplace.js +++ b/lib/features/replace/BpmnReplace.js @@ -1,5 +1,3 @@ -'use strict'; - import { pick, assign, diff --git a/lib/features/replace/ReplaceOptions.js b/lib/features/replace/ReplaceOptions.js index e85cef40..92eea363 100644 --- a/lib/features/replace/ReplaceOptions.js +++ b/lib/features/replace/ReplaceOptions.js @@ -1,5 +1,3 @@ -'use strict'; - export var START_EVENT = [ { label: 'Start Event', diff --git a/lib/features/rules/BpmnRules.js b/lib/features/rules/BpmnRules.js index 0095f477..53c6a13c 100644 --- a/lib/features/rules/BpmnRules.js +++ b/lib/features/rules/BpmnRules.js @@ -1,5 +1,3 @@ -'use strict'; - import { find, some, diff --git a/lib/features/search/BpmnSearchProvider.js b/lib/features/search/BpmnSearchProvider.js index da45ce59..0f8f351d 100644 --- a/lib/features/search/BpmnSearchProvider.js +++ b/lib/features/search/BpmnSearchProvider.js @@ -1,5 +1,3 @@ -'use strict'; - import { map, filter, diff --git a/lib/features/snapping/BpmnSnapping.js b/lib/features/snapping/BpmnSnapping.js index 437f0643..0d700249 100644 --- a/lib/features/snapping/BpmnSnapping.js +++ b/lib/features/snapping/BpmnSnapping.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import { diff --git a/lib/features/snapping/BpmnSnappingUtil.js b/lib/features/snapping/BpmnSnappingUtil.js index b3d3e1d5..48cfc5ef 100644 --- a/lib/features/snapping/BpmnSnappingUtil.js +++ b/lib/features/snapping/BpmnSnappingUtil.js @@ -1,5 +1,3 @@ -'use strict'; - import { getOrientation } from 'diagram-js/lib/layout/LayoutUtil'; diff --git a/lib/import/BpmnImporter.js b/lib/import/BpmnImporter.js index c4ea5b48..cfc880c2 100644 --- a/lib/import/BpmnImporter.js +++ b/lib/import/BpmnImporter.js @@ -1,5 +1,3 @@ -'use strict'; - import { assign, map diff --git a/lib/import/BpmnTreeWalker.js b/lib/import/BpmnTreeWalker.js index 34fb51e3..b001bd7c 100644 --- a/lib/import/BpmnTreeWalker.js +++ b/lib/import/BpmnTreeWalker.js @@ -1,5 +1,3 @@ -'use strict'; - import { filter, find, diff --git a/lib/import/Importer.js b/lib/import/Importer.js index d3a461fc..1796e8d8 100644 --- a/lib/import/Importer.js +++ b/lib/import/Importer.js @@ -1,5 +1,3 @@ -'use strict'; - import BpmnTreeWalker from './BpmnTreeWalker'; diff --git a/lib/import/Util.js b/lib/import/Util.js index bda77d1d..0eef1f43 100644 --- a/lib/import/Util.js +++ b/lib/import/Util.js @@ -1,5 +1,3 @@ -'use strict'; - export function elementToString(e) { if (!e) { return ''; diff --git a/lib/util/DiUtil.js b/lib/util/DiUtil.js index b22b7cb7..91c4e5a1 100644 --- a/lib/util/DiUtil.js +++ b/lib/util/DiUtil.js @@ -1,5 +1,3 @@ -'use strict'; - import { is, getBusinessObject diff --git a/lib/util/LabelUtil.js b/lib/util/LabelUtil.js index a2e56d43..787f65a0 100644 --- a/lib/util/LabelUtil.js +++ b/lib/util/LabelUtil.js @@ -1,5 +1,3 @@ -'use strict'; - import { assign } from 'min-dash'; diff --git a/lib/util/ModelUtil.js b/lib/util/ModelUtil.js index e81c2f31..e45af72a 100644 --- a/lib/util/ModelUtil.js +++ b/lib/util/ModelUtil.js @@ -1,5 +1,3 @@ -'use strict'; - /** * Is an element of the given BPMN type? * diff --git a/lib/util/PoweredByUtil.js b/lib/util/PoweredByUtil.js index b427cd5e..2b968e23 100644 --- a/lib/util/PoweredByUtil.js +++ b/lib/util/PoweredByUtil.js @@ -4,8 +4,6 @@ * @see http://bpmn.io/license for more information. */ -'use strict'; - import { domify, delegate as domDelegate diff --git a/lib/util/model/ModelCloneHelper.js b/lib/util/model/ModelCloneHelper.js index 0253e908..67b2aa71 100644 --- a/lib/util/model/ModelCloneHelper.js +++ b/lib/util/model/ModelCloneHelper.js @@ -1,5 +1,3 @@ -'use strict'; - import { forEach, filter, diff --git a/lib/util/model/ModelCloneUtils.js b/lib/util/model/ModelCloneUtils.js index 857ae0a3..f897fc36 100644 --- a/lib/util/model/ModelCloneUtils.js +++ b/lib/util/model/ModelCloneUtils.js @@ -1,5 +1,3 @@ -'use strict'; - import { forEach } from 'min-dash'; diff --git a/test/TestHelper.js b/test/TestHelper.js index 7a5d2257..f7f6dcf7 100644 --- a/test/TestHelper.js +++ b/test/TestHelper.js @@ -1,5 +1,3 @@ -'use strict'; - export * from './helper'; import { diff --git a/test/config/karma.distro.js b/test/config/karma.distro.js index 33a4d93b..ae07937b 100644 --- a/test/config/karma.distro.js +++ b/test/config/karma.distro.js @@ -1,5 +1,3 @@ -'use strict'; - /* global process */ // configures browsers to run test against diff --git a/test/config/karma.unit.js b/test/config/karma.unit.js index b4d0ca21..719c7a41 100644 --- a/test/config/karma.unit.js +++ b/test/config/karma.unit.js @@ -1,5 +1,3 @@ -'use strict'; - var path = require('path'); var basePath = '../../'; diff --git a/test/config/translation-reporter.js b/test/config/translation-reporter.js index d3efa8f3..4bd57e16 100644 --- a/test/config/translation-reporter.js +++ b/test/config/translation-reporter.js @@ -1,5 +1,3 @@ -'use strict'; - var fs = require('fs'); var path = require('path'); diff --git a/test/distro/bpmn-modeler.js b/test/distro/bpmn-modeler.js index dd67b0a7..c38afe00 100644 --- a/test/distro/bpmn-modeler.js +++ b/test/distro/bpmn-modeler.js @@ -1,6 +1,3 @@ -'use strict'; - - describe('bpmn-modeler', function() { it('should expose globals', function() { diff --git a/test/distro/bpmn-navigated-viewer.js b/test/distro/bpmn-navigated-viewer.js index 988d96c4..d6a84aa7 100644 --- a/test/distro/bpmn-navigated-viewer.js +++ b/test/distro/bpmn-navigated-viewer.js @@ -1,6 +1,3 @@ -'use strict'; - - describe('bpmn-navigated-viewer', function() { it('should expose globals', function() { diff --git a/test/distro/bpmn-viewer.js b/test/distro/bpmn-viewer.js index 7b1ffd18..376affb8 100644 --- a/test/distro/bpmn-viewer.js +++ b/test/distro/bpmn-viewer.js @@ -1,6 +1,3 @@ -'use strict'; - - describe('bpmn-navigated-viewer', function() { it('should expose globals', function() { diff --git a/test/helper/TranslationCollector.js b/test/helper/TranslationCollector.js index e6697c9b..3eff4f1c 100644 --- a/test/helper/TranslationCollector.js +++ b/test/helper/TranslationCollector.js @@ -1,5 +1,3 @@ -'use strict'; - import translate from 'diagram-js/lib/i18n/translate/translate'; function collectTranslations(template, replacements) { diff --git a/test/helper/index.js b/test/helper/index.js index e8d2388c..4b21c06a 100644 --- a/test/helper/index.js +++ b/test/helper/index.js @@ -1,5 +1,3 @@ -'use strict'; - /** * A helper file that may be used in test cases for bpmn-js and extensions. * diff --git a/test/integration/CustomElementsSpec.js b/test/integration/CustomElementsSpec.js index e8428005..6a0c38c7 100644 --- a/test/integration/CustomElementsSpec.js +++ b/test/integration/CustomElementsSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/integration/ReimportSpec.js b/test/integration/ReimportSpec.js index ac748293..8e221bff 100644 --- a/test/integration/ReimportSpec.js +++ b/test/integration/ReimportSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import Modeler from 'lib/Modeler'; import TestContainer from 'mocha-test-container-support'; diff --git a/test/integration/SimpleModelingSpec.js b/test/integration/SimpleModelingSpec.js index 6453bdf7..19342a35 100644 --- a/test/integration/SimpleModelingSpec.js +++ b/test/integration/SimpleModelingSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import Modeler from 'lib/Modeler'; import TestContainer from 'mocha-test-container-support'; diff --git a/test/integration/custom-elements/CustomElementFactory.js b/test/integration/custom-elements/CustomElementFactory.js index 60f9dabd..5d42b9f9 100644 --- a/test/integration/custom-elements/CustomElementFactory.js +++ b/test/integration/custom-elements/CustomElementFactory.js @@ -1,5 +1,3 @@ -'use strict'; - import { assign } from 'min-dash'; diff --git a/test/integration/custom-elements/CustomRenderer.js b/test/integration/custom-elements/CustomRenderer.js index 0523ae59..7e1964bd 100644 --- a/test/integration/custom-elements/CustomRenderer.js +++ b/test/integration/custom-elements/CustomRenderer.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import BaseRenderer from 'diagram-js/lib/draw/BaseRenderer'; diff --git a/test/integration/custom-elements/CustomRules.js b/test/integration/custom-elements/CustomRules.js index a8130678..e2304771 100644 --- a/test/integration/custom-elements/CustomRules.js +++ b/test/integration/custom-elements/CustomRules.js @@ -1,5 +1,3 @@ -'use strict'; - import { forEach } from 'min-dash'; import inherits from 'inherits'; diff --git a/test/integration/custom-elements/CustomUpdater.js b/test/integration/custom-elements/CustomUpdater.js index 037f8946..73854f00 100644 --- a/test/integration/custom-elements/CustomUpdater.js +++ b/test/integration/custom-elements/CustomUpdater.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import { diff --git a/test/integration/model/BpmnModdleSpec.js b/test/integration/model/BpmnModdleSpec.js index 39179b6a..1d8b786f 100644 --- a/test/integration/model/BpmnModdleSpec.js +++ b/test/integration/model/BpmnModdleSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import BpmnModdle from 'bpmn-moddle'; diff --git a/test/matchers/BoundsMatchers.js b/test/matchers/BoundsMatchers.js index a8c54003..b775fa8c 100644 --- a/test/matchers/BoundsMatchers.js +++ b/test/matchers/BoundsMatchers.js @@ -1,5 +1,3 @@ -'use strict'; - import { pick } from 'min-dash'; diff --git a/test/matchers/ConnectionMatchers.js b/test/matchers/ConnectionMatchers.js index a8411672..e6691df4 100644 --- a/test/matchers/ConnectionMatchers.js +++ b/test/matchers/ConnectionMatchers.js @@ -1,5 +1,3 @@ -'use strict'; - import { pick } from 'min-dash'; diff --git a/test/matchers/JSONMatcher.js b/test/matchers/JSONMatcher.js index 547b0428..9dc38a50 100644 --- a/test/matchers/JSONMatcher.js +++ b/test/matchers/JSONMatcher.js @@ -1,5 +1,3 @@ -'use strict'; - export default function(chai, utils) { utils.addMethod(chai.Assertion.prototype, 'jsonEqual', function(comparison) { diff --git a/test/spec/ModelerSpec.js b/test/spec/ModelerSpec.js index 8dd95d4c..a3b21e65 100644 --- a/test/spec/ModelerSpec.js +++ b/test/spec/ModelerSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import Modeler from 'lib/Modeler'; import Viewer from 'lib/Viewer'; import NavigatedViewer from 'lib/NavigatedViewer'; diff --git a/test/spec/NavigatedViewerSpec.js b/test/spec/NavigatedViewerSpec.js index 7294cc9a..825b8adb 100644 --- a/test/spec/NavigatedViewerSpec.js +++ b/test/spec/NavigatedViewerSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import NavigatedViewer from 'lib/NavigatedViewer'; diff --git a/test/spec/ViewerSpec.js b/test/spec/ViewerSpec.js index a9ab99cc..e26f07f7 100644 --- a/test/spec/ViewerSpec.js +++ b/test/spec/ViewerSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import TestContainer from 'mocha-test-container-support'; import Diagram from 'diagram-js/lib/Diagram'; diff --git a/test/spec/draw/BpmnRenderUtilSpec.js b/test/spec/draw/BpmnRenderUtilSpec.js index 898eb040..959b56c8 100644 --- a/test/spec/draw/BpmnRenderUtilSpec.js +++ b/test/spec/draw/BpmnRenderUtilSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { isTypedEvent, isThrowEvent, diff --git a/test/spec/draw/BpmnRendererSpec.js b/test/spec/draw/BpmnRendererSpec.js index cadf23ff..890f51eb 100644 --- a/test/spec/draw/BpmnRendererSpec.js +++ b/test/spec/draw/BpmnRendererSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, bootstrapViewer, diff --git a/test/spec/environment/MockingSpec.js b/test/spec/environment/MockingSpec.js index ce8f062a..908c4a82 100644 --- a/test/spec/environment/MockingSpec.js +++ b/test/spec/environment/MockingSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapViewer, inject diff --git a/test/spec/features/align-elements/BpmnAlignElementsSpec.js b/test/spec/features/align-elements/BpmnAlignElementsSpec.js index 9e88d0ec..d903003a 100644 --- a/test/spec/features/align-elements/BpmnAlignElementsSpec.js +++ b/test/spec/features/align-elements/BpmnAlignElementsSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/auto-place/AutoPlaceSpec.js b/test/spec/features/auto-place/AutoPlaceSpec.js index cff62923..2352cccd 100644 --- a/test/spec/features/auto-place/AutoPlaceSpec.js +++ b/test/spec/features/auto-place/AutoPlaceSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/auto-resize/AutoResizeSpec.js b/test/spec/features/auto-resize/AutoResizeSpec.js index b624af72..cedd8922 100644 --- a/test/spec/features/auto-resize/AutoResizeSpec.js +++ b/test/spec/features/auto-resize/AutoResizeSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/context-pad/ContextPadProviderSpec.js b/test/spec/features/context-pad/ContextPadProviderSpec.js index ed47dcd6..ff587b90 100644 --- a/test/spec/features/context-pad/ContextPadProviderSpec.js +++ b/test/spec/features/context-pad/ContextPadProviderSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, getBpmnJS, diff --git a/test/spec/features/copy-paste/BpmnCopyPasteSpec.js b/test/spec/features/copy-paste/BpmnCopyPasteSpec.js index f102357b..60bb34a3 100644 --- a/test/spec/features/copy-paste/BpmnCopyPasteSpec.js +++ b/test/spec/features/copy-paste/BpmnCopyPasteSpec.js @@ -1,5 +1,3 @@ -'use strict'; - /* global sinon */ import { diff --git a/test/spec/features/copy-paste/DescriptorTree.js b/test/spec/features/copy-paste/DescriptorTree.js index 4e6d6639..4a690b30 100644 --- a/test/spec/features/copy-paste/DescriptorTree.js +++ b/test/spec/features/copy-paste/DescriptorTree.js @@ -1,5 +1,3 @@ -'use strict'; - var forEach = require('min-dash').forEach; diff --git a/test/spec/features/distribute-elements/BpmnDistributeElementsSpec.js b/test/spec/features/distribute-elements/BpmnDistributeElementsSpec.js index 9a0f6148..b3199061 100644 --- a/test/spec/features/distribute-elements/BpmnDistributeElementsSpec.js +++ b/test/spec/features/distribute-elements/BpmnDistributeElementsSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/editor-actions/BpmnEditorActionsSpec.js b/test/spec/features/editor-actions/BpmnEditorActionsSpec.js index 29256416..20b21a1c 100644 --- a/test/spec/features/editor-actions/BpmnEditorActionsSpec.js +++ b/test/spec/features/editor-actions/BpmnEditorActionsSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/global-connect/BpmnGlobalConnectSpec.js b/test/spec/features/global-connect/BpmnGlobalConnectSpec.js index 81a7bd21..a9610e2e 100644 --- a/test/spec/features/global-connect/BpmnGlobalConnectSpec.js +++ b/test/spec/features/global-connect/BpmnGlobalConnectSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/keyboard/BpmnKeyBindingsSpec.js b/test/spec/features/keyboard/BpmnKeyBindingsSpec.js index 5766e0fb..99a54d8e 100644 --- a/test/spec/features/keyboard/BpmnKeyBindingsSpec.js +++ b/test/spec/features/keyboard/BpmnKeyBindingsSpec.js @@ -1,5 +1,3 @@ -'use strict'; - /* global sinon */ import { diff --git a/test/spec/features/label-editing/LabelEditingPreviewSpec.js b/test/spec/features/label-editing/LabelEditingPreviewSpec.js index 9acbebbd..1b8cafa2 100644 --- a/test/spec/features/label-editing/LabelEditingPreviewSpec.js +++ b/test/spec/features/label-editing/LabelEditingPreviewSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapViewer, inject diff --git a/test/spec/features/label-editing/LabelEditingProviderSpec.js b/test/spec/features/label-editing/LabelEditingProviderSpec.js index c83ce921..3e4492d9 100644 --- a/test/spec/features/label-editing/LabelEditingProviderSpec.js +++ b/test/spec/features/label-editing/LabelEditingProviderSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/label-editing/TouchIntegrationSpec.js b/test/spec/features/label-editing/TouchIntegrationSpec.js index ab2b040b..5f474180 100644 --- a/test/spec/features/label-editing/TouchIntegrationSpec.js +++ b/test/spec/features/label-editing/TouchIntegrationSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import TestContainer from 'mocha-test-container-support'; import Modeler from 'lib/Modeler'; diff --git a/test/spec/features/modeling/AppendShapeSpec.js b/test/spec/features/modeling/AppendShapeSpec.js index ca28e0c9..d87af993 100644 --- a/test/spec/features/modeling/AppendShapeSpec.js +++ b/test/spec/features/modeling/AppendShapeSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/BendpointsSpec.js b/test/spec/features/modeling/BendpointsSpec.js index 76e71b04..a302a682 100644 --- a/test/spec/features/modeling/BendpointsSpec.js +++ b/test/spec/features/modeling/BendpointsSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/BpmnFactorySpec.js b/test/spec/features/modeling/BpmnFactorySpec.js index 00a15ec2..09aa272e 100644 --- a/test/spec/features/modeling/BpmnFactorySpec.js +++ b/test/spec/features/modeling/BpmnFactorySpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/BpmnUpdaterSpec.js b/test/spec/features/modeling/BpmnUpdaterSpec.js index 52671c17..5e485901 100644 --- a/test/spec/features/modeling/BpmnUpdaterSpec.js +++ b/test/spec/features/modeling/BpmnUpdaterSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/CreateConnectionSpec.js b/test/spec/features/modeling/CreateConnectionSpec.js index 9b3ff22a..b82a2fbb 100644 --- a/test/spec/features/modeling/CreateConnectionSpec.js +++ b/test/spec/features/modeling/CreateConnectionSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/DeleteConnectionSpec.js b/test/spec/features/modeling/DeleteConnectionSpec.js index 26adff39..2a4cbfd8 100644 --- a/test/spec/features/modeling/DeleteConnectionSpec.js +++ b/test/spec/features/modeling/DeleteConnectionSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/DeleteParticipantSpec.js b/test/spec/features/modeling/DeleteParticipantSpec.js index 49a400ab..ce694482 100644 --- a/test/spec/features/modeling/DeleteParticipantSpec.js +++ b/test/spec/features/modeling/DeleteParticipantSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/DeleteShapeSpec.js b/test/spec/features/modeling/DeleteShapeSpec.js index 6d364294..62213ac8 100644 --- a/test/spec/features/modeling/DeleteShapeSpec.js +++ b/test/spec/features/modeling/DeleteShapeSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/DropSpec.js b/test/spec/features/modeling/DropSpec.js index 6de03852..ce902302 100644 --- a/test/spec/features/modeling/DropSpec.js +++ b/test/spec/features/modeling/DropSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/IdClaimSpec.js b/test/spec/features/modeling/IdClaimSpec.js index 1690c397..f28dd9c3 100644 --- a/test/spec/features/modeling/IdClaimSpec.js +++ b/test/spec/features/modeling/IdClaimSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/LabelBoundsSpec.js b/test/spec/features/modeling/LabelBoundsSpec.js index 87234664..931bcc67 100644 --- a/test/spec/features/modeling/LabelBoundsSpec.js +++ b/test/spec/features/modeling/LabelBoundsSpec.js @@ -1,5 +1,3 @@ -'use strict'; - /* global sinon */ import { diff --git a/test/spec/features/modeling/LabelLayoutingSpec.js b/test/spec/features/modeling/LabelLayoutingSpec.js index 99f5d9bd..b905177e 100644 --- a/test/spec/features/modeling/LabelLayoutingSpec.js +++ b/test/spec/features/modeling/LabelLayoutingSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/LoggingCroppingConnectionDocking.js b/test/spec/features/modeling/LoggingCroppingConnectionDocking.js index e4becc7e..25aa533b 100644 --- a/test/spec/features/modeling/LoggingCroppingConnectionDocking.js +++ b/test/spec/features/modeling/LoggingCroppingConnectionDocking.js @@ -1,5 +1,3 @@ -'use strict'; - import CroppingConnectionDocking from 'diagram-js/lib/layout/CroppingConnectionDocking'; import { diff --git a/test/spec/features/modeling/MoveConnectionSpec.js b/test/spec/features/modeling/MoveConnectionSpec.js index c2501338..e3947849 100644 --- a/test/spec/features/modeling/MoveConnectionSpec.js +++ b/test/spec/features/modeling/MoveConnectionSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/MoveElementsSpec.js b/test/spec/features/modeling/MoveElementsSpec.js index bca65b9b..b8adc135 100644 --- a/test/spec/features/modeling/MoveElementsSpec.js +++ b/test/spec/features/modeling/MoveElementsSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/MoveRulesSpec.js b/test/spec/features/modeling/MoveRulesSpec.js index dda6e6e3..3ea7690d 100644 --- a/test/spec/features/modeling/MoveRulesSpec.js +++ b/test/spec/features/modeling/MoveRulesSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/MoveShapeSpec.js b/test/spec/features/modeling/MoveShapeSpec.js index 22bc1ebd..cc1a8b20 100644 --- a/test/spec/features/modeling/MoveShapeSpec.js +++ b/test/spec/features/modeling/MoveShapeSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/MoveStressSpec.js b/test/spec/features/modeling/MoveStressSpec.js index a9dac0ca..874058de 100644 --- a/test/spec/features/modeling/MoveStressSpec.js +++ b/test/spec/features/modeling/MoveStressSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/ResizeShapeSpec.js b/test/spec/features/modeling/ResizeShapeSpec.js index 7d27e71d..2880201c 100644 --- a/test/spec/features/modeling/ResizeShapeSpec.js +++ b/test/spec/features/modeling/ResizeShapeSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/SetColorSpec.js b/test/spec/features/modeling/SetColorSpec.js index 5e4b05d0..aa361a22 100644 --- a/test/spec/features/modeling/SetColorSpec.js +++ b/test/spec/features/modeling/SetColorSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/SpaceToolSpec.js b/test/spec/features/modeling/SpaceToolSpec.js index 8f18ecba..afb49911 100644 --- a/test/spec/features/modeling/SpaceToolSpec.js +++ b/test/spec/features/modeling/SpaceToolSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/UpdateAttachmentSpec.js b/test/spec/features/modeling/UpdateAttachmentSpec.js index 431958a9..3d3645ad 100644 --- a/test/spec/features/modeling/UpdateAttachmentSpec.js +++ b/test/spec/features/modeling/UpdateAttachmentSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/UpdateLabelSpec.js b/test/spec/features/modeling/UpdateLabelSpec.js index ae734bf0..27860a0e 100644 --- a/test/spec/features/modeling/UpdateLabelSpec.js +++ b/test/spec/features/modeling/UpdateLabelSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/UpdatePropertiesSpec.js b/test/spec/features/modeling/UpdatePropertiesSpec.js index 1667b216..a1f2a23d 100644 --- a/test/spec/features/modeling/UpdatePropertiesSpec.js +++ b/test/spec/features/modeling/UpdatePropertiesSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/append/TextAnnotationSpec.js b/test/spec/features/modeling/append/TextAnnotationSpec.js index eae5909a..8daeb2df 100644 --- a/test/spec/features/modeling/append/TextAnnotationSpec.js +++ b/test/spec/features/modeling/append/TextAnnotationSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/behavior/AdaptiveLabelPositioningBehaviorSpec.js b/test/spec/features/modeling/behavior/AdaptiveLabelPositioningBehaviorSpec.js index 5078f15d..ff6fcfbf 100644 --- a/test/spec/features/modeling/behavior/AdaptiveLabelPositioningBehaviorSpec.js +++ b/test/spec/features/modeling/behavior/AdaptiveLabelPositioningBehaviorSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/behavior/CompensationAssociationBehaviorSpec.js b/test/spec/features/modeling/behavior/CompensationAssociationBehaviorSpec.js index 6c5533c8..87ac3663 100644 --- a/test/spec/features/modeling/behavior/CompensationAssociationBehaviorSpec.js +++ b/test/spec/features/modeling/behavior/CompensationAssociationBehaviorSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/behavior/CreateBoundaryEventBehaviorSpec.js b/test/spec/features/modeling/behavior/CreateBoundaryEventBehaviorSpec.js index 6f8351d8..cb925d34 100644 --- a/test/spec/features/modeling/behavior/CreateBoundaryEventBehaviorSpec.js +++ b/test/spec/features/modeling/behavior/CreateBoundaryEventBehaviorSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/behavior/CreateParticipantBehaviorSpec.js b/test/spec/features/modeling/behavior/CreateParticipantBehaviorSpec.js index b11a5305..f86f29a0 100644 --- a/test/spec/features/modeling/behavior/CreateParticipantBehaviorSpec.js +++ b/test/spec/features/modeling/behavior/CreateParticipantBehaviorSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/behavior/DataInputAssociationBehaviorSpec.js b/test/spec/features/modeling/behavior/DataInputAssociationBehaviorSpec.js index c7358581..a2ecf3d8 100644 --- a/test/spec/features/modeling/behavior/DataInputAssociationBehaviorSpec.js +++ b/test/spec/features/modeling/behavior/DataInputAssociationBehaviorSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/behavior/DataObjectBehaviorSpec.js b/test/spec/features/modeling/behavior/DataObjectBehaviorSpec.js index 0a6938a1..a5824498 100644 --- a/test/spec/features/modeling/behavior/DataObjectBehaviorSpec.js +++ b/test/spec/features/modeling/behavior/DataObjectBehaviorSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/behavior/DataStoreBehaviorSpec.js b/test/spec/features/modeling/behavior/DataStoreBehaviorSpec.js index e886dad7..7ea4c51b 100644 --- a/test/spec/features/modeling/behavior/DataStoreBehaviorSpec.js +++ b/test/spec/features/modeling/behavior/DataStoreBehaviorSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/behavior/DropOnFlowBehaviorSpec.js b/test/spec/features/modeling/behavior/DropOnFlowBehaviorSpec.js index 21ef06b9..4c467145 100644 --- a/test/spec/features/modeling/behavior/DropOnFlowBehaviorSpec.js +++ b/test/spec/features/modeling/behavior/DropOnFlowBehaviorSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/behavior/ImportDockingFixSpec.js b/test/spec/features/modeling/behavior/ImportDockingFixSpec.js index d3efb8c3..01ad9745 100644 --- a/test/spec/features/modeling/behavior/ImportDockingFixSpec.js +++ b/test/spec/features/modeling/behavior/ImportDockingFixSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/behavior/LabelBehaviorSpec.js b/test/spec/features/modeling/behavior/LabelBehaviorSpec.js index a07ba374..70dbc081 100644 --- a/test/spec/features/modeling/behavior/LabelBehaviorSpec.js +++ b/test/spec/features/modeling/behavior/LabelBehaviorSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/behavior/ReconnectConnectionSpec.js b/test/spec/features/modeling/behavior/ReconnectConnectionSpec.js index 2ce4546c..f94838a8 100644 --- a/test/spec/features/modeling/behavior/ReconnectConnectionSpec.js +++ b/test/spec/features/modeling/behavior/ReconnectConnectionSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/behavior/RemoveElementBehaviorSpec.js b/test/spec/features/modeling/behavior/RemoveElementBehaviorSpec.js index 076ac649..3ae1ca35 100644 --- a/test/spec/features/modeling/behavior/RemoveElementBehaviorSpec.js +++ b/test/spec/features/modeling/behavior/RemoveElementBehaviorSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/behavior/RemoveParticipantBehaviorSpec.js b/test/spec/features/modeling/behavior/RemoveParticipantBehaviorSpec.js index c512eb0a..7dab115f 100644 --- a/test/spec/features/modeling/behavior/RemoveParticipantBehaviorSpec.js +++ b/test/spec/features/modeling/behavior/RemoveParticipantBehaviorSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/behavior/ReplaceConnectionBehaviorSpec.js b/test/spec/features/modeling/behavior/ReplaceConnectionBehaviorSpec.js index 7c90ca8e..96591a25 100644 --- a/test/spec/features/modeling/behavior/ReplaceConnectionBehaviorSpec.js +++ b/test/spec/features/modeling/behavior/ReplaceConnectionBehaviorSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/behavior/ReplaceElementBehaviourSpec.js b/test/spec/features/modeling/behavior/ReplaceElementBehaviourSpec.js index 50088e9e..ddd9121b 100644 --- a/test/spec/features/modeling/behavior/ReplaceElementBehaviourSpec.js +++ b/test/spec/features/modeling/behavior/ReplaceElementBehaviourSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/behavior/ToggleElementCollapseBehaviourSpec.js b/test/spec/features/modeling/behavior/ToggleElementCollapseBehaviourSpec.js index a89e0e47..e967a4a1 100644 --- a/test/spec/features/modeling/behavior/ToggleElementCollapseBehaviourSpec.js +++ b/test/spec/features/modeling/behavior/ToggleElementCollapseBehaviourSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/behavior/UnsetDefaultFlowBehaviorSpec.js b/test/spec/features/modeling/behavior/UnsetDefaultFlowBehaviorSpec.js index 80afc937..6b5d3d28 100644 --- a/test/spec/features/modeling/behavior/UnsetDefaultFlowBehaviorSpec.js +++ b/test/spec/features/modeling/behavior/UnsetDefaultFlowBehaviorSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/behavior/util/GeometricUtilSpec.js b/test/spec/features/modeling/behavior/util/GeometricUtilSpec.js index bea1d85e..e45b2fbb 100644 --- a/test/spec/features/modeling/behavior/util/GeometricUtilSpec.js +++ b/test/spec/features/modeling/behavior/util/GeometricUtilSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { getDistancePointLine, getAngle, diff --git a/test/spec/features/modeling/behavior/util/LabelLayoutUtilSpec.js b/test/spec/features/modeling/behavior/util/LabelLayoutUtilSpec.js index b4afc458..cbb8701b 100644 --- a/test/spec/features/modeling/behavior/util/LabelLayoutUtilSpec.js +++ b/test/spec/features/modeling/behavior/util/LabelLayoutUtilSpec.js @@ -1,5 +1,3 @@ -'use strict'; - var getLabelAdjustment = require('lib/features/modeling/behavior/util/LabelLayoutUtil').getLabelAdjustment; diff --git a/test/spec/features/modeling/behavior/util/LineAttachmentUtilSpec.js b/test/spec/features/modeling/behavior/util/LineAttachmentUtilSpec.js index 2971458e..83fb4faa 100644 --- a/test/spec/features/modeling/behavior/util/LineAttachmentUtilSpec.js +++ b/test/spec/features/modeling/behavior/util/LineAttachmentUtilSpec.js @@ -1,5 +1,3 @@ -'use strict'; - var getAttachment = require('lib/features/modeling/behavior/util/LineAttachmentUtil').getAttachment; var EPSILON = 0.1; diff --git a/test/spec/features/modeling/behavior/util/LineIntersectSpec.js b/test/spec/features/modeling/behavior/util/LineIntersectSpec.js index 1ba9ac21..6b12b1de 100644 --- a/test/spec/features/modeling/behavior/util/LineIntersectSpec.js +++ b/test/spec/features/modeling/behavior/util/LineIntersectSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import intersection from 'lib/features/modeling/behavior/util/LineIntersect'; diff --git a/test/spec/features/modeling/lanes/AddLaneSpec.js b/test/spec/features/modeling/lanes/AddLaneSpec.js index dcba06d2..0e15850f 100644 --- a/test/spec/features/modeling/lanes/AddLaneSpec.js +++ b/test/spec/features/modeling/lanes/AddLaneSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/lanes/DeleteLaneSpec.js b/test/spec/features/modeling/lanes/DeleteLaneSpec.js index ca12520f..43a5863c 100644 --- a/test/spec/features/modeling/lanes/DeleteLaneSpec.js +++ b/test/spec/features/modeling/lanes/DeleteLaneSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/lanes/ResizeLaneSpec.js b/test/spec/features/modeling/lanes/ResizeLaneSpec.js index 7367b3ff..9fbb2ef1 100644 --- a/test/spec/features/modeling/lanes/ResizeLaneSpec.js +++ b/test/spec/features/modeling/lanes/ResizeLaneSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/lanes/SplitLaneSpec.js b/test/spec/features/modeling/lanes/SplitLaneSpec.js index 54058bcd..dab40473 100644 --- a/test/spec/features/modeling/lanes/SplitLaneSpec.js +++ b/test/spec/features/modeling/lanes/SplitLaneSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/lanes/UpdateFlowNodeRefsSpec.js b/test/spec/features/modeling/lanes/UpdateFlowNodeRefsSpec.js index ad6c0154..7b0f3832 100644 --- a/test/spec/features/modeling/lanes/UpdateFlowNodeRefsSpec.js +++ b/test/spec/features/modeling/lanes/UpdateFlowNodeRefsSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/layout/LayoutAssociationSpec.js b/test/spec/features/modeling/layout/LayoutAssociationSpec.js index 58f0ee46..7a5e7308 100644 --- a/test/spec/features/modeling/layout/LayoutAssociationSpec.js +++ b/test/spec/features/modeling/layout/LayoutAssociationSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/layout/LayoutConnectionSpec.js b/test/spec/features/modeling/layout/LayoutConnectionSpec.js index f1ce2dd3..c6f1fc4f 100644 --- a/test/spec/features/modeling/layout/LayoutConnectionSpec.js +++ b/test/spec/features/modeling/layout/LayoutConnectionSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/layout/LayoutDataAssociationSpec.js b/test/spec/features/modeling/layout/LayoutDataAssociationSpec.js index 11b47423..7549f8d1 100644 --- a/test/spec/features/modeling/layout/LayoutDataAssociationSpec.js +++ b/test/spec/features/modeling/layout/LayoutDataAssociationSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/layout/LayoutMessageFlowSpec.js b/test/spec/features/modeling/layout/LayoutMessageFlowSpec.js index 53eff4d5..d4f72cfd 100644 --- a/test/spec/features/modeling/layout/LayoutMessageFlowSpec.js +++ b/test/spec/features/modeling/layout/LayoutMessageFlowSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/modeling/layout/LayoutSequenceFlowSpec.js b/test/spec/features/modeling/layout/LayoutSequenceFlowSpec.js index 0cd6604c..26de6d35 100644 --- a/test/spec/features/modeling/layout/LayoutSequenceFlowSpec.js +++ b/test/spec/features/modeling/layout/LayoutSequenceFlowSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/ordering/BpmnOrderingProviderSpec.js b/test/spec/features/ordering/BpmnOrderingProviderSpec.js index 6610d032..42130b28 100644 --- a/test/spec/features/ordering/BpmnOrderingProviderSpec.js +++ b/test/spec/features/ordering/BpmnOrderingProviderSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/ordering/Helper.js b/test/spec/features/ordering/Helper.js index fb52659d..7546ed2e 100644 --- a/test/spec/features/ordering/Helper.js +++ b/test/spec/features/ordering/Helper.js @@ -1,5 +1,3 @@ -'use strict'; - import { getBpmnJS } from 'test/TestHelper'; diff --git a/test/spec/features/palette/PaletteProviderSpec.js b/test/spec/features/palette/PaletteProviderSpec.js index 0f9f26af..f68678a2 100644 --- a/test/spec/features/palette/PaletteProviderSpec.js +++ b/test/spec/features/palette/PaletteProviderSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/popup-menu/ReplaceMenuProviderSpec.js b/test/spec/features/popup-menu/ReplaceMenuProviderSpec.js index fb1e0944..a5d9e5a6 100644 --- a/test/spec/features/popup-menu/ReplaceMenuProviderSpec.js +++ b/test/spec/features/popup-menu/ReplaceMenuProviderSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, getBpmnJS, diff --git a/test/spec/features/replace-preview/BpmnReplacePreviewSpec.js b/test/spec/features/replace-preview/BpmnReplacePreviewSpec.js index 68a4104b..4236c2b6 100644 --- a/test/spec/features/replace-preview/BpmnReplacePreviewSpec.js +++ b/test/spec/features/replace-preview/BpmnReplacePreviewSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/replace/BpmnReplaceSpec.js b/test/spec/features/replace/BpmnReplaceSpec.js index 437e524b..d3ece6c1 100644 --- a/test/spec/features/replace/BpmnReplaceSpec.js +++ b/test/spec/features/replace/BpmnReplaceSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/replace/ReplaceRulesSpec.js b/test/spec/features/replace/ReplaceRulesSpec.js index 457c06ac..ecf62fed 100644 --- a/test/spec/features/replace/ReplaceRulesSpec.js +++ b/test/spec/features/replace/ReplaceRulesSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/rules/BpmnRulesSpec.js b/test/spec/features/rules/BpmnRulesSpec.js index 3ea1bf52..cff477a7 100644 --- a/test/spec/features/rules/BpmnRulesSpec.js +++ b/test/spec/features/rules/BpmnRulesSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/rules/Helper.js b/test/spec/features/rules/Helper.js index e231570b..92be6c90 100644 --- a/test/spec/features/rules/Helper.js +++ b/test/spec/features/rules/Helper.js @@ -1,5 +1,3 @@ -'use strict'; - import { getBpmnJS } from 'test/TestHelper'; diff --git a/test/spec/features/search/BpmnSearchProviderSpec.js b/test/spec/features/search/BpmnSearchProviderSpec.js index 52122c99..95f9b37a 100644 --- a/test/spec/features/search/BpmnSearchProviderSpec.js +++ b/test/spec/features/search/BpmnSearchProviderSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapViewer, inject diff --git a/test/spec/features/snapping/BpmnSnappingSpec.js b/test/spec/features/snapping/BpmnSnappingSpec.js index 82b8bf56..05b8b5d1 100644 --- a/test/spec/features/snapping/BpmnSnappingSpec.js +++ b/test/spec/features/snapping/BpmnSnappingSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/features/snapping/BpmnSnappingUtilSpec.js b/test/spec/features/snapping/BpmnSnappingUtilSpec.js index 8eaebdb2..822c8076 100644 --- a/test/spec/features/snapping/BpmnSnappingUtilSpec.js +++ b/test/spec/features/snapping/BpmnSnappingUtilSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/i18n/custom-translate/custom-translate.js b/test/spec/i18n/custom-translate/custom-translate.js index ab9e977b..820c492e 100644 --- a/test/spec/i18n/custom-translate/custom-translate.js +++ b/test/spec/i18n/custom-translate/custom-translate.js @@ -1,5 +1,3 @@ -'use strict'; - import translate from 'diagram-js/lib/i18n/translate/translate'; export default function customTranslate(template, replacements) { diff --git a/test/spec/i18n/translateSpec.js b/test/spec/i18n/translateSpec.js index 37434da0..5955db94 100644 --- a/test/spec/i18n/translateSpec.js +++ b/test/spec/i18n/translateSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/import/ImporterSpec.js b/test/spec/import/ImporterSpec.js index da6fd5b6..2ef7c24e 100644 --- a/test/spec/import/ImporterSpec.js +++ b/test/spec/import/ImporterSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import TestContainer from 'mocha-test-container-support'; import Diagram from 'diagram-js/lib/Diagram'; diff --git a/test/spec/import/ModelWiringSpec.js b/test/spec/import/ModelWiringSpec.js index c69e70f2..8a7aff1e 100644 --- a/test/spec/import/ModelWiringSpec.js +++ b/test/spec/import/ModelWiringSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapViewer, inject diff --git a/test/spec/import/elements/AssociationSpec.js b/test/spec/import/elements/AssociationSpec.js index 961b683c..33ac5a0d 100644 --- a/test/spec/import/elements/AssociationSpec.js +++ b/test/spec/import/elements/AssociationSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapViewer, inject diff --git a/test/spec/import/elements/CollapsedSpec.js b/test/spec/import/elements/CollapsedSpec.js index ae38c576..c957719b 100644 --- a/test/spec/import/elements/CollapsedSpec.js +++ b/test/spec/import/elements/CollapsedSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapViewer, inject diff --git a/test/spec/import/elements/LabelSpec.js b/test/spec/import/elements/LabelSpec.js index e0898e7f..86a9c248 100644 --- a/test/spec/import/elements/LabelSpec.js +++ b/test/spec/import/elements/LabelSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapViewer, inject diff --git a/test/spec/util/ModelCloneHelperSpec.js b/test/spec/util/ModelCloneHelperSpec.js index 573b4664..e260fd3d 100644 --- a/test/spec/util/ModelCloneHelperSpec.js +++ b/test/spec/util/ModelCloneHelperSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/util/ModelUtilSpec.js b/test/spec/util/ModelUtilSpec.js index 6315be9a..1a0dab3b 100644 --- a/test/spec/util/ModelUtilSpec.js +++ b/test/spec/util/ModelUtilSpec.js @@ -1,5 +1,3 @@ -'use strict'; - import { bootstrapModeler, inject diff --git a/test/spec/util/camunda-moddle.js b/test/spec/util/camunda-moddle.js index 68a65119..e2e425c0 100644 --- a/test/spec/util/camunda-moddle.js +++ b/test/spec/util/camunda-moddle.js @@ -1,5 +1,3 @@ -'use strict'; - import { some } from 'min-dash'; diff --git a/test/util/KeyEvents.js b/test/util/KeyEvents.js index 9e823d96..e5c6483a 100644 --- a/test/util/KeyEvents.js +++ b/test/util/KeyEvents.js @@ -1,5 +1,3 @@ -'use strict'; - export function createKeyEvent(element, code, ctrlKey) { var e = document.createEvent('Events') || new document.defaultView.CustomEvent('keyEvent'); diff --git a/test/util/MockEvents.js b/test/util/MockEvents.js index a42dbed7..614b3534 100644 --- a/test/util/MockEvents.js +++ b/test/util/MockEvents.js @@ -1,5 +1,3 @@ -'use strict'; - import { assign } from 'min-dash'; diff --git a/test/util/custom-rules/CustomRules.js b/test/util/custom-rules/CustomRules.js index 74e72485..8cd83f21 100644 --- a/test/util/custom-rules/CustomRules.js +++ b/test/util/custom-rules/CustomRules.js @@ -1,5 +1,3 @@ -'use strict'; - import inherits from 'inherits'; import RuleProvider from 'diagram-js/lib/features/rules/RuleProvider';