Skip to content

Commit

Permalink
MAGETWO-72258: Fix minor type "consturctor" > "constructor" #10755
Browse files Browse the repository at this point in the history
  • Loading branch information
ishakhsuvarov committed Sep 4, 2017
2 parents 5013d52 + 85f49bf commit 547ca4d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/code/Magento/Ui/view/base/web/js/lib/core/class.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ define([
* Creates constructor function which allows
* initialization without usage of a 'new' operator.
*
* @param {Object} protoProps - Prototypal propeties of a new consturctor.
* @param {Function} consturctor
* @returns {Function} Created consturctor.
* @param {Object} protoProps - Prototypal propeties of a new constructor.
* @param {Function} constructor
* @returns {Function} Created constructor.
*/
function createConstructor(protoProps, consturctor) {
var UiClass = consturctor;
function createConstructor(protoProps, constructor) {
var UiClass = constructor;

if (!UiClass) {

Expand Down Expand Up @@ -61,7 +61,7 @@ define([
Class = createConstructor({

/**
* Entry point to the initialization of consturctors' instance.
* Entry point to the initialization of constructor's instance.
*
* @param {Object} [options={}]
* @returns {Class} Chainable.
Expand Down

0 comments on commit 547ca4d

Please sign in to comment.