chore(project): drop 'use strict'
We use ES modules, so 'use strict' is not necessary anymore.
This commit is contained in:
parent
d2cc4edd80
commit
9be61259bd
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import Ids from 'ids';
|
import Ids from 'ids';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import Viewer from './Viewer';
|
import Viewer from './Viewer';
|
||||||
|
|
|
@ -4,8 +4,6 @@
|
||||||
*
|
*
|
||||||
* @see http://bpmn.io/license for more information.
|
* @see http://bpmn.io/license for more information.
|
||||||
*/
|
*/
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
assign,
|
assign,
|
||||||
isNumber,
|
isNumber,
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
every,
|
every,
|
||||||
some
|
some
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Map containing SVG paths needed by BpmnRenderer.
|
* Map containing SVG paths needed by BpmnRenderer.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import { is } from '../../util/ModelUtil';
|
import { is } from '../../util/ModelUtil';
|
||||||
import { isAny } from '../modeling/util/ModelingUtil';
|
import { isAny } from '../modeling/util/ModelingUtil';
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Select element after auto placement.
|
* Select element after auto placement.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import { is } from '../../util/ModelUtil';
|
import { is } from '../../util/ModelUtil';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import { is } from '../../util/ModelUtil';
|
import { is } from '../../util/ModelUtil';
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
assign,
|
assign,
|
||||||
forEach,
|
forEach,
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
getBusinessObject,
|
getBusinessObject,
|
||||||
is
|
is
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
filter
|
filter
|
||||||
} from 'min-dash';
|
} from 'min-dash';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import EditorActions from 'diagram-js/lib/features/editor-actions/EditorActions';
|
import EditorActions from 'diagram-js/lib/features/editor-actions/EditorActions';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
isAny
|
isAny
|
||||||
} from '../modeling/util/ModelingUtil';
|
} from '../modeling/util/ModelingUtil';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* BPMN 2.0 specific key bindings.
|
* BPMN 2.0 specific key bindings.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
assign
|
assign
|
||||||
} from 'min-dash';
|
} from 'min-dash';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import { is } from '../../util/ModelUtil';
|
import { is } from '../../util/ModelUtil';
|
||||||
|
|
||||||
function getLabelAttr(semantic) {
|
function getLabelAttr(semantic) {
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
setLabel,
|
setLabel,
|
||||||
getLabel
|
getLabel
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
map,
|
map,
|
||||||
assign,
|
assign,
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
assign,
|
assign,
|
||||||
forEach
|
forEach
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
assign,
|
assign,
|
||||||
forEach
|
forEach
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import BaseModeling from 'diagram-js/lib/features/modeling/Modeling';
|
import BaseModeling from 'diagram-js/lib/features/modeling/Modeling';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import { is } from '../../../util/ModelUtil';
|
import { is } from '../../../util/ModelUtil';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
getMid
|
getMid
|
||||||
} from 'diagram-js/lib/layout/LayoutUtil';
|
} from 'diagram-js/lib/layout/LayoutUtil';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
assign
|
assign
|
||||||
} from 'min-dash';
|
} from 'min-dash';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import { is } from '../../../util/ModelUtil';
|
import { is } from '../../../util/ModelUtil';
|
||||||
|
|
||||||
var COLLAB_ERR_MSG = 'flow elements must be children of pools/participants',
|
var COLLAB_ERR_MSG = 'flow elements must be children of pools/participants',
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
forEach,
|
forEach,
|
||||||
find,
|
find,
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import { is } from '../../../util/ModelUtil';
|
import { is } from '../../../util/ModelUtil';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
forEach
|
forEach
|
||||||
} from 'min-dash';
|
} from 'min-dash';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the length of a vector
|
* Returns the length of a vector
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
getDistancePointPoint,
|
getDistancePointPoint,
|
||||||
rotateVector,
|
rotateVector,
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var sqrt = Math.sqrt,
|
var sqrt = Math.sqrt,
|
||||||
min = Math.min,
|
min = Math.min,
|
||||||
max = Math.max,
|
max = Math.max,
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the intersection between two line segments a and b.
|
* Returns the intersection between two line segments a and b.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
filter
|
filter
|
||||||
} from 'min-dash';
|
} from 'min-dash';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
export default function IdClaimHandler(moddle) {
|
export default function IdClaimHandler(moddle) {
|
||||||
this._moddle = moddle;
|
this._moddle = moddle;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import { is } from '../../../util/ModelUtil';
|
import { is } from '../../../util/ModelUtil';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
assign,
|
assign,
|
||||||
forEach
|
forEach
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
getChildLanes,
|
getChildLanes,
|
||||||
LANE_INDENTATION
|
LANE_INDENTATION
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
add as collectionAdd,
|
add as collectionAdd,
|
||||||
remove as collectionRemove
|
remove as collectionRemove
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
collectLanes,
|
collectLanes,
|
||||||
getLanesRoot
|
getLanesRoot
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
reduce,
|
reduce,
|
||||||
keys,
|
keys,
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import { is } from '../../../util/ModelUtil';
|
import { is } from '../../../util/ModelUtil';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
some
|
some
|
||||||
} from 'min-dash';
|
} from 'min-dash';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import OrderingProvider from 'diagram-js/lib/features/ordering/OrderingProvider';
|
import OrderingProvider from 'diagram-js/lib/features/ordering/OrderingProvider';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
assign
|
assign
|
||||||
} from 'min-dash';
|
} from 'min-dash';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
getBusinessObject,
|
getBusinessObject,
|
||||||
is
|
is
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
getBusinessObject
|
getBusinessObject
|
||||||
} from '../../../util/ModelUtil';
|
} from '../../../util/ModelUtil';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
pick,
|
pick,
|
||||||
assign,
|
assign,
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
export var START_EVENT = [
|
export var START_EVENT = [
|
||||||
{
|
{
|
||||||
label: 'Start Event',
|
label: 'Start Event',
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
find,
|
find,
|
||||||
some,
|
some,
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
map,
|
map,
|
||||||
filter,
|
filter,
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
getOrientation
|
getOrientation
|
||||||
} from 'diagram-js/lib/layout/LayoutUtil';
|
} from 'diagram-js/lib/layout/LayoutUtil';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
assign,
|
assign,
|
||||||
map
|
map
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
filter,
|
filter,
|
||||||
find,
|
find,
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import BpmnTreeWalker from './BpmnTreeWalker';
|
import BpmnTreeWalker from './BpmnTreeWalker';
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
export function elementToString(e) {
|
export function elementToString(e) {
|
||||||
if (!e) {
|
if (!e) {
|
||||||
return '<null>';
|
return '<null>';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
is,
|
is,
|
||||||
getBusinessObject
|
getBusinessObject
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
assign
|
assign
|
||||||
} from 'min-dash';
|
} from 'min-dash';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Is an element of the given BPMN type?
|
* Is an element of the given BPMN type?
|
||||||
*
|
*
|
||||||
|
|
|
@ -4,8 +4,6 @@
|
||||||
* @see http://bpmn.io/license for more information.
|
* @see http://bpmn.io/license for more information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
domify,
|
domify,
|
||||||
delegate as domDelegate
|
delegate as domDelegate
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
forEach,
|
forEach,
|
||||||
filter,
|
filter,
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
forEach
|
forEach
|
||||||
} from 'min-dash';
|
} from 'min-dash';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
export * from './helper';
|
export * from './helper';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/* global process */
|
/* global process */
|
||||||
|
|
||||||
// configures browsers to run test against
|
// configures browsers to run test against
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var path = require('path');
|
var path = require('path');
|
||||||
|
|
||||||
var basePath = '../../';
|
var basePath = '../../';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var fs = require('fs');
|
var fs = require('fs');
|
||||||
var path = require('path');
|
var path = require('path');
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
|
|
||||||
describe('bpmn-modeler', function() {
|
describe('bpmn-modeler', function() {
|
||||||
|
|
||||||
it('should expose globals', function() {
|
it('should expose globals', function() {
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
|
|
||||||
describe('bpmn-navigated-viewer', function() {
|
describe('bpmn-navigated-viewer', function() {
|
||||||
|
|
||||||
it('should expose globals', function() {
|
it('should expose globals', function() {
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
|
|
||||||
describe('bpmn-navigated-viewer', function() {
|
describe('bpmn-navigated-viewer', function() {
|
||||||
|
|
||||||
it('should expose globals', function() {
|
it('should expose globals', function() {
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import translate from 'diagram-js/lib/i18n/translate/translate';
|
import translate from 'diagram-js/lib/i18n/translate/translate';
|
||||||
|
|
||||||
function collectTranslations(template, replacements) {
|
function collectTranslations(template, replacements) {
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A helper file that may be used in test cases for bpmn-js and extensions.
|
* A helper file that may be used in test cases for bpmn-js and extensions.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
bootstrapModeler,
|
bootstrapModeler,
|
||||||
inject
|
inject
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import Modeler from 'lib/Modeler';
|
import Modeler from 'lib/Modeler';
|
||||||
|
|
||||||
import TestContainer from 'mocha-test-container-support';
|
import TestContainer from 'mocha-test-container-support';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import Modeler from 'lib/Modeler';
|
import Modeler from 'lib/Modeler';
|
||||||
|
|
||||||
import TestContainer from 'mocha-test-container-support';
|
import TestContainer from 'mocha-test-container-support';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
assign
|
assign
|
||||||
} from 'min-dash';
|
} from 'min-dash';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import BaseRenderer from 'diagram-js/lib/draw/BaseRenderer';
|
import BaseRenderer from 'diagram-js/lib/draw/BaseRenderer';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import { forEach } from 'min-dash';
|
import { forEach } from 'min-dash';
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import inherits from 'inherits';
|
import inherits from 'inherits';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import BpmnModdle from 'bpmn-moddle';
|
import BpmnModdle from 'bpmn-moddle';
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
pick
|
pick
|
||||||
} from 'min-dash';
|
} from 'min-dash';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
pick
|
pick
|
||||||
} from 'min-dash';
|
} from 'min-dash';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
'use strict';
|
|
||||||
|
|
||||||
export default function(chai, utils) {
|
export default function(chai, utils) {
|
||||||
|
|
||||||
utils.addMethod(chai.Assertion.prototype, 'jsonEqual', function(comparison) {
|
utils.addMethod(chai.Assertion.prototype, 'jsonEqual', function(comparison) {
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue