chore(project): fix typos introduced

This commit is contained in:
Philipp Fromme 2018-03-22 12:43:36 +01:00
parent ce829137da
commit bec8d06e08
6 changed files with 8 additions and 8 deletions

View File

@ -6,7 +6,7 @@ var is = require('../../../util/ModelUtil').is;
/**
* Return true if element has some of the given types.
* Return true if element has any of the given types.
*
* @param {djs.model.Base} element
* @param {Array<String>} types
@ -23,7 +23,7 @@ module.exports.isAny = isAny;
/**
* Return the parent of the element with some of the given types.
* Return the parent of the element with any of the given types.
*
* @param {djs.model.Base} element
* @param {String|Array<String>} anyType

View File

@ -244,7 +244,7 @@ BpmnImporter.prototype._getEnd = function(semantic, side) {
refSemantic = semantic[side + 'Ref'];
// handle mysterious isMsome DataAssociation#sourceRef
// handle mysterious isMany DataAssociation#sourceRef
if (side === 'source' && type === 'bpmn:DataInputAssociation') {
refSemantic = refSemantic && refSemantic[0];
}

View File

@ -11,7 +11,7 @@ var IGNORED_PROPERTIES = require('./ModelCloneUtils').IGNORED_PROPERTIES;
function isAllowedIn(extProp, type) {
var allowedIn = extProp.meta.allowedIn;
// '*' is a wildcard, which means some element is allowed to use this property
// '*' is a wildcard, which means any element is allowed to use this property
if (allowedIn.length === 1 && allowedIn[0] === '*') {
return true;
}

View File

@ -60,7 +60,7 @@ describe('features - bpmn-updater', function() {
it('should not create new di refs', inject(function(modeling, elementRegistry, elementFactory) {
// given
// sequence flow without some sourceElement and targetElement di information
// sequence flow without any sourceElement and targetElement di information
var sequenceFlow = elementRegistry.get('SequenceFlow_4');
var intermediateThrowEvent = elementFactory.createShape({ type: 'bpmn:IntermediateThrowEvent' }),

View File

@ -1571,7 +1571,7 @@ describe('features/popup-menu - replace menu provider', function() {
);
it('should remove conditionExpression when morphing to DefaultFlow',
it('should remove any conditionExpression when morphing to DefaultFlow',
inject(function(elementRegistry, modeling, popupMenu, moddle) {
// given
@ -1601,7 +1601,7 @@ describe('features/popup-menu - replace menu provider', function() {
);
it('should remove some conditionExpression when morphing to DefaultFlow -> undo',
it('should remove any conditionExpression when morphing to DefaultFlow -> undo',
inject(function(elementRegistry, modeling, popupMenu, moddle, commandStack) {
// given

View File

@ -248,7 +248,7 @@ describe('features/replace-preview', function() {
);
it('should not replace some non-interrupting start events in a selection of multiple elements',
it('should not replace any non-interrupting start events in a selection of multiple elements',
inject(function(move, dragging, elementRegistry, selection) {
// given