Skip to content

Commit 89a497e

Browse files
author
Oleksii Korshenko
authored
Merge pull request #1650 from magento-engcom/2.2-develop-prs
Public Pull Requests #11933 Changed constructor typo in Javascript class by @dverkade
2 parents c21a3a6 + ff126f4 commit 89a497e

File tree

1 file changed

+6
-6
lines changed
  • app/code/Magento/Ui/view/base/web/js/lib/core

1 file changed

+6
-6
lines changed

app/code/Magento/Ui/view/base/web/js/lib/core/class.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ define([
2727
* Creates constructor function which allows
2828
* initialization without usage of a 'new' operator.
2929
*
30-
* @param {Object} protoProps - Prototypal propeties of a new consturctor.
31-
* @param {Function} consturctor
32-
* @returns {Function} Created consturctor.
30+
* @param {Object} protoProps - Prototypal properties of a new constructor.
31+
* @param {Function} constructor
32+
* @returns {Function} Created constructor.
3333
*/
34-
function createConstructor(protoProps, consturctor) {
35-
var UiClass = consturctor;
34+
function createConstructor(protoProps, constructor) {
35+
var UiClass = constructor;
3636

3737
if (!UiClass) {
3838

@@ -61,7 +61,7 @@ define([
6161
Class = createConstructor({
6262

6363
/**
64-
* Entry point to the initialization of consturctors' instance.
64+
* Entry point to the initialization of constructors' instance.
6565
*
6666
* @param {Object} [options={}]
6767
* @returns {Class} Chainable.

0 commit comments

Comments
 (0)