diff --git a/packages/concerto-core/lib/model/relationship.js b/packages/concerto-core/lib/model/relationship.js index e96aaa6bf1..dc949f81ac 100644 --- a/packages/concerto-core/lib/model/relationship.js +++ b/packages/concerto-core/lib/model/relationship.js @@ -79,7 +79,7 @@ class Relationship extends Identifiable { } /** - * Contructs a Relationship instance from a URI representation (created using toURI). + * Constructs a Relationship instance from a URI representation (created using toURI). * @param {ModelManager} modelManager - the model manager to bind the relationship to * @param {String} uriAsString - the URI as a string, generated using Identifiable.toURI() * @param {String} [defaultNamespace] - default namespace to use for backwards compatibility diff --git a/packages/concerto-core/lib/model/typed.js b/packages/concerto-core/lib/model/typed.js index 6030813941..4adc48e342 100644 --- a/packages/concerto-core/lib/model/typed.js +++ b/packages/concerto-core/lib/model/typed.js @@ -189,7 +189,7 @@ class Typed { if (classDeclaration.getFullyQualifiedName() === fqt) { return true; } - // Now walk the class hierachy looking to see if it's an instance of the specified type. + // Now walk the class hierarchy looking to see if it's an instance of the specified type. let superTypeDeclaration = classDeclaration.getSuperTypeDeclaration(); while (superTypeDeclaration) { if (superTypeDeclaration.getFullyQualifiedName() === fqt) { diff --git a/packages/concerto-core/test/introspect/assetdeclaration.js b/packages/concerto-core/test/introspect/assetdeclaration.js index 97e42e6ce6..44413b540f 100644 --- a/packages/concerto-core/test/introspect/assetdeclaration.js +++ b/packages/concerto-core/test/introspect/assetdeclaration.js @@ -106,7 +106,7 @@ describe('AssetDeclaration', () => { }).should.throw(/more than one field named/); }); - it('should throw when field has been duplicated in the same class hierachy', () => { + it('should throw when field has been duplicated in the same class hierarchy', () => { let asset = loadLastAssetDeclaration('test/data/parser/assetdeclaration.dupecomp.cto'); (() => { asset.validate(); diff --git a/packages/concerto-util/lib/warning.js b/packages/concerto-util/lib/warning.js index d9d9b42603..0e98a27da0 100644 --- a/packages/concerto-util/lib/warning.js +++ b/packages/concerto-util/lib/warning.js @@ -25,7 +25,7 @@ let isWarningEmitted = false; * @param {string} detail - detail of the deprecation warning */ function printDeprecationWarning(message, type, code, detail) { - // This will get pollyfilled in the webpack.config.js as process.emitWarning is not available in the browser + // This will get polyfilled in the webpack.config.js as process.emitWarning is not available in the browser const customEmitWarning = process.emitWarning; if (!isWarningEmitted) { isWarningEmitted = true;