Skip to content

Commit

Permalink
ENGCOM-4590: [UI] Adjusting the Magento_Ui typos #21940
Browse files Browse the repository at this point in the history
  • Loading branch information
sidolov authored Apr 3, 2019
2 parents a960a85 + 7653cd2 commit 22cb00a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ define([
*
* @param {String} path - Path to the property.
*
* @example Retrieveing data.
* localStoarge =>
* @example Retrieving data.
* localStorage =>
* 'appData' => '
* "one": {"two": "three"}
* '
Expand All @@ -139,7 +139,7 @@ define([
*
* @example Setting data.
* storage.set('one.two', 'four');
* => localStoarge =>
* => localStorage =>
* 'appData' => '
* "one": {"two": "four"}
* '
Expand All @@ -159,7 +159,7 @@ define([
*
* @example Removing data.
* storage.remove('one.two', 'four');
* => localStoarge =>
* => localStorage =>
* 'appData' => '
* "one": {}
* '
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ define([
},

/**
* Custom 'render' attrobute handler function. Wraps child elements
* Custom 'render' attribute handler function. Wraps child elements
* of a node with knockout's 'ko template:' comment tag.
*
* @param {HTMLElement} node - Element to be processed.
Expand Down
12 changes: 6 additions & 6 deletions app/code/Magento/Ui/view/base/web/js/lib/logger/logger-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,29 +42,29 @@ define([], function () {
* Method that creates object of messages
* @param {String} requested - log message that showing that request for class is started
* @param {String} loaded - log message that show when requested class is loaded
* @param {String} failded - log message that show when requested class is failed
* @param {String} failed - log message that show when requested class is failed
* @returns {Object}
*/
LogUtils.prototype.createMessages = function (requested, loaded, failded) {
LogUtils.prototype.createMessages = function (requested, loaded, failed) {
return {
requested: requested || '',
loaded: loaded || '',
failed: failded || ''
failed: failed || ''
};
};

/**
* Method that creates object of log levels
* @param {String} requested - log message that showing that request for class is started
* @param {String} loaded - log message that show when requested class is loaded
* @param {String} failded - log message that show when requested class is failed
* @param {String} failed - log message that show when requested class is failed
* @returns {Object}
*/
LogUtils.prototype.createLevels = function (requested, loaded, failded) {
LogUtils.prototype.createLevels = function (requested, loaded, failed) {
return {
requested: requested || 'info',
loaded: loaded || 'info',
failed: failded || 'warn'
failed: failed || 'warn'
};
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ define([
}

/**
* Validates provied value by a specified set of rules.
* Validates provided value by a specified set of rules.
*
* @param {(String|Object)} rules - One or many validation rules.
* @param {*} value - Value to be checked.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ define([
}

/**
* Calls handlers assocoiated with an added node.
* Calls handlers associated with an added node.
* Adds listeners for the node removal.
*
* @param {HTMLElement} node - Added node.
Expand All @@ -163,7 +163,7 @@ define([
}

/**
* Calls handlers assocoiated with a removed node.
* Calls handlers associated with a removed node.
*
* @param {HTMLElement} node - Removed node.
*/
Expand Down

0 comments on commit 22cb00a

Please sign in to comment.