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 {djs.model.Base} element
* @param {Array<String>} types * @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 {djs.model.Base} element
* @param {String|Array<String>} anyType * @param {String|Array<String>} anyType

View File

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

View File

@ -11,7 +11,7 @@ var IGNORED_PROPERTIES = require('./ModelCloneUtils').IGNORED_PROPERTIES;
function isAllowedIn(extProp, type) { function isAllowedIn(extProp, type) {
var allowedIn = extProp.meta.allowedIn; 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] === '*') { if (allowedIn.length === 1 && allowedIn[0] === '*') {
return true; 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) { it('should not create new di refs', inject(function(modeling, elementRegistry, elementFactory) {
// given // 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 sequenceFlow = elementRegistry.get('SequenceFlow_4');
var intermediateThrowEvent = elementFactory.createShape({ type: 'bpmn:IntermediateThrowEvent' }), 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) { inject(function(elementRegistry, modeling, popupMenu, moddle) {
// given // 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) { inject(function(elementRegistry, modeling, popupMenu, moddle, commandStack) {
// given // 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) { inject(function(move, dragging, elementRegistry, selection) {
// given // given