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 Ids from 'ids';

View File

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

View File

@ -4,8 +4,6 @@
*
* @see http://bpmn.io/license for more information.
*/
'use strict';
import {
assign,
isNumber,

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits';
import EditorActions from 'diagram-js/lib/features/editor-actions/EditorActions';

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits';
import BaseModeling from 'diagram-js/lib/features/modeling/Modeling';

View File

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

View File

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

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits';
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits';
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits';
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits';
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits';
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';

View File

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

View File

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

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import { is } from '../../../util/ModelUtil';
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 CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits';
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits';
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits';
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits';
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits';
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';

View File

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

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
var sqrt = Math.sqrt,
min = Math.min,
max = Math.max,

View File

@ -1,5 +1,3 @@
'use strict';
/**
* Returns the intersection between two line segments a and b.
*

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits';
import OrderingProvider from 'diagram-js/lib/features/ordering/OrderingProvider';

View File

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

View File

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

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';
import inherits from 'inherits';

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4,8 +4,6 @@
* @see http://bpmn.io/license for more information.
*/
'use strict';
import {
domify,
delegate as domDelegate

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import translate from 'diagram-js/lib/i18n/translate/translate';
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.
*

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import Modeler from 'lib/Modeler';
import TestContainer from 'mocha-test-container-support';

View File

@ -1,5 +1,3 @@
'use strict';
import Modeler from 'lib/Modeler';
import TestContainer from 'mocha-test-container-support';

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
import inherits from 'inherits';
import BaseRenderer from 'diagram-js/lib/draw/BaseRenderer';

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,3 @@
'use strict';
export default function(chai, utils) {
utils.addMethod(chai.Assertion.prototype, 'jsonEqual', function(comparison) {

Some files were not shown because too many files have changed in this diff Show More