chore(project): drop 'use strict'

We use ES modules, so 'use strict' is not necessary anymore.
This commit is contained in:
Nico Rehwaldt 2018-04-03 09:58:15 +02:00
parent d2cc4edd80
commit 9be61259bd
200 changed files with 0 additions and 403 deletions

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits'; import inherits from 'inherits';
import Ids from 'ids'; import Ids from 'ids';

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits'; import inherits from 'inherits';
import Viewer from './Viewer'; import Viewer from './Viewer';

View File

@ -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,

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
every, every,
some some

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits'; import inherits from 'inherits';
import { import {

View File

@ -1,5 +1,3 @@
'use strict';
/** /**
* Map containing SVG paths needed by BpmnRenderer. * Map containing SVG paths needed by BpmnRenderer.
*/ */

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
/** /**
* Select element after auto placement. * Select element after auto placement.
* *

View File

@ -1,5 +1,3 @@
'use strict';
import { is } from '../../util/ModelUtil'; import { is } from '../../util/ModelUtil';
import { import {

View File

@ -1,5 +1,3 @@
'use strict';
import { is } from '../../util/ModelUtil'; import { is } from '../../util/ModelUtil';
import inherits from 'inherits'; import inherits from 'inherits';

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
assign, assign,
forEach, forEach,

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
getBusinessObject, getBusinessObject,
is is

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
filter filter
} from 'min-dash'; } from 'min-dash';

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
isAny isAny
} from '../modeling/util/ModelingUtil'; } from '../modeling/util/ModelingUtil';

View File

@ -1,5 +1,3 @@
'use strict';
/** /**
* BPMN 2.0 specific key bindings. * BPMN 2.0 specific key bindings.
* *

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
assign assign
} from 'min-dash'; } from 'min-dash';

View File

@ -1,5 +1,3 @@
'use strict';
import { is } from '../../util/ModelUtil'; import { is } from '../../util/ModelUtil';
function getLabelAttr(semantic) { function getLabelAttr(semantic) {

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
setLabel, setLabel,
getLabel getLabel

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
map, map,
assign, assign,

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits'; import inherits from 'inherits';
import { import {

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
assign, assign,
forEach forEach

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
assign, assign,
forEach forEach

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits'; import inherits from 'inherits';
import { import {

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits'; import inherits from 'inherits';
import { is } from '../../../util/ModelUtil'; import { is } from '../../../util/ModelUtil';

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits'; import inherits from 'inherits';
import { import {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits'; import inherits from 'inherits';
import { import {

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
getMid getMid
} from 'diagram-js/lib/layout/LayoutUtil'; } from 'diagram-js/lib/layout/LayoutUtil';

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
assign assign
} from 'min-dash'; } from 'min-dash';

View File

@ -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',

View File

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

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
forEach, forEach,
find, find,

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import { is } from '../../../util/ModelUtil'; import { is } from '../../../util/ModelUtil';
import { import {

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
forEach forEach
} from 'min-dash'; } from 'min-dash';

View File

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

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
/** /**
* Returns the length of a vector * Returns the length of a vector
* *

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
getDistancePointPoint, getDistancePointPoint,
rotateVector, rotateVector,

View File

@ -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,

View File

@ -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.
* *

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
filter filter
} from 'min-dash'; } from 'min-dash';

View File

@ -1,5 +1,3 @@
'use strict';
export default function IdClaimHandler(moddle) { export default function IdClaimHandler(moddle) {
this._moddle = moddle; this._moddle = moddle;
} }

View File

@ -1,5 +1,3 @@
'use strict';
import { is } from '../../../util/ModelUtil'; import { is } from '../../../util/ModelUtil';
import { import {

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
assign, assign,
forEach forEach

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
getChildLanes, getChildLanes,
LANE_INDENTATION LANE_INDENTATION

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
add as collectionAdd, add as collectionAdd,
remove as collectionRemove remove as collectionRemove

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
collectLanes, collectLanes,
getLanesRoot getLanesRoot

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
reduce, reduce,
keys, keys,

View File

@ -1,5 +1,3 @@
'use strict';
import { is } from '../../../util/ModelUtil'; import { is } from '../../../util/ModelUtil';
import { import {

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
some some
} from 'min-dash'; } from 'min-dash';

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
assign assign
} from 'min-dash'; } from 'min-dash';

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
getBusinessObject, getBusinessObject,
is is

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
getBusinessObject getBusinessObject
} from '../../../util/ModelUtil'; } from '../../../util/ModelUtil';

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
pick, pick,
assign, assign,

View File

@ -1,5 +1,3 @@
'use strict';
export var START_EVENT = [ export var START_EVENT = [
{ {
label: 'Start Event', label: 'Start Event',

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
find, find,
some, some,

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
map, map,
filter, filter,

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits'; import inherits from 'inherits';
import { import {

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
getOrientation getOrientation
} from 'diagram-js/lib/layout/LayoutUtil'; } from 'diagram-js/lib/layout/LayoutUtil';

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
assign, assign,
map map

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
filter, filter,
find, find,

View File

@ -1,5 +1,3 @@
'use strict';
import BpmnTreeWalker from './BpmnTreeWalker'; import BpmnTreeWalker from './BpmnTreeWalker';

View File

@ -1,5 +1,3 @@
'use strict';
export function elementToString(e) { export function elementToString(e) {
if (!e) { if (!e) {
return '<null>'; return '<null>';

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
is, is,
getBusinessObject getBusinessObject

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
assign assign
} from 'min-dash'; } from 'min-dash';

View File

@ -1,5 +1,3 @@
'use strict';
/** /**
* Is an element of the given BPMN type? * Is an element of the given BPMN type?
* *

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
forEach, forEach,
filter, filter,

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
forEach forEach
} from 'min-dash'; } from 'min-dash';

View File

@ -1,5 +1,3 @@
'use strict';
export * from './helper'; export * from './helper';
import { import {

View File

@ -1,5 +1,3 @@
'use strict';
/* global process */ /* global process */
// configures browsers to run test against // configures browsers to run test against

View File

@ -1,5 +1,3 @@
'use strict';
var path = require('path'); var path = require('path');
var basePath = '../../'; var basePath = '../../';

View File

@ -1,5 +1,3 @@
'use strict';
var fs = require('fs'); var fs = require('fs');
var path = require('path'); var path = require('path');

View File

@ -1,6 +1,3 @@
'use strict';
describe('bpmn-modeler', function() { describe('bpmn-modeler', function() {
it('should expose globals', function() { it('should expose globals', function() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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) {

View File

@ -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.
* *

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
bootstrapModeler, bootstrapModeler,
inject inject

View File

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

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
assign assign
} from 'min-dash'; } from 'min-dash';

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import { forEach } from 'min-dash'; import { forEach } from 'min-dash';
import inherits from 'inherits'; import inherits from 'inherits';

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits'; import inherits from 'inherits';
import { import {

View File

@ -1,5 +1,3 @@
'use strict';
import BpmnModdle from 'bpmn-moddle'; import BpmnModdle from 'bpmn-moddle';

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
pick pick
} from 'min-dash'; } from 'min-dash';

View File

@ -1,5 +1,3 @@
'use strict';
import { import {
pick pick
} from 'min-dash'; } from 'min-dash';

View File

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