Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 properties 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 constructors' instance.
*
* @param {Object} [options={}]
* @returns {Class} Chainable.
Expand Down