Skip to content

Commit

Permalink
Fixed Ui typos
Browse files Browse the repository at this point in the history
  • Loading branch information
eduard13 committed Mar 26, 2019
1 parent 0d881fc commit 1d91d51
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
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

0 comments on commit 1d91d51

Please sign in to comment.