Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI] Adjusting the Magento_Ui typos #21940

Merged
Merged
Show file tree
Hide file tree
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
10 changes: 5 additions & 5 deletions app/code/Magento/Ui/view/base/web/js/lib/core/storage/local.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ define([

/**
* Extracts and parses data stored in localStorage by the
* key specified in 'root' varaible.
* key specified in 'root' variable.
*
* @returns {Object}
*/
Expand Down 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