Skip to content

Commit

Permalink
ENGCOM-1797: [BACKPORT 2.2 #15695] Fixed a couple of typos #15715
Browse files Browse the repository at this point in the history
 - Merge Pull Request #15715 from dverkade/magento2:2.2-Fix-typos
 - Merged commits:
   1. 899146a
  • Loading branch information
magento-engcom-team committed Jun 4, 2018
2 parents 20474b1 + 899146a commit bf4a86b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function canDisplay()
}

/**
* Retrieve disply item qty availablity
* Retrieve display item qty availability
*
* @return false
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,14 @@ define([
* @returns {Group} Chainable.
*/
_setClasses: function () {
var addtional = this.additionalClasses,
var additional = this.additionalClasses,
classes;

if (_.isString(addtional)) {
addtional = this.additionalClasses.split(' ');
if (_.isString(additional)) {
additional = this.additionalClasses.split(' ');
classes = this.additionalClasses = {};

addtional.forEach(function (name) {
additional.forEach(function (name) {
classes[name] = true;
}, this);
}
Expand Down
8 changes: 4 additions & 4 deletions app/code/Magento/Ui/view/base/web/js/form/components/group.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ define([
* @returns {Group} Chainable.
*/
_setClasses: function () {
var addtional = this.additionalClasses,
var additional = this.additionalClasses,
classes;

if (_.isString(addtional)) {
addtional = this.additionalClasses.split(' ');
if (_.isString(additional)) {
additional = this.additionalClasses.split(' ');
classes = this.additionalClasses = {};

addtional.forEach(function (name) {
additional.forEach(function (name) {
classes[name] = true;
}, this);
}
Expand Down
4 changes: 2 additions & 2 deletions setup/pub/angular-sanitize/angular-sanitize.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
END_TAG_REGEXP = /^<\s*\/\s*([\w:-]+)[^>]*>/,
ATTR_REGEXP = /([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,
BEGIN_TAG_REGEXP = /^</,
BEGING_END_TAGE_REGEXP = /^<\s*\//,
BEGIN_END_TAGE_REGEXP = /^<\s*\//,
COMMENT_REGEXP = /<!--(.*?)-->/g,
DOCTYPE_REGEXP = /<!DOCTYPE([^>]*?)>/i,
CDATA_REGEXP = /<!\[CDATA\[(.*?)]]>/g,
Expand Down Expand Up @@ -260,7 +260,7 @@
chars = false;
}
// end tag
} else if ( BEGING_END_TAGE_REGEXP.test(html) ) {
} else if ( BEGIN_END_TAGE_REGEXP.test(html) ) {
match = html.match( END_TAG_REGEXP );

if ( match ) {
Expand Down
2 changes: 1 addition & 1 deletion setup/pub/angular-sanitize/angular-sanitize.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bf4a86b

Please sign in to comment.