Commit 2a287f31 authored by jhodgdon's avatar jhodgdon

Issue #2329703 by maximpodorov: Fix spelling in varous files

parent 73c66d4d
...@@ -573,7 +573,7 @@ ...@@ -573,7 +573,7 @@
var settings; var settings;
// We don't know what response.data contains: it might be a string of text // We don't know what response.data contains: it might be a string of text
// without HTML, so don't rely on jQuery correctly iterpreting // without HTML, so don't rely on jQuery correctly interpreting
// $(response.data) as new HTML rather than a CSS selector. Also, if // $(response.data) as new HTML rather than a CSS selector. Also, if
// response.data contains top-level text nodes, they get lost with either // response.data contains top-level text nodes, they get lost with either
// $(response.data) or $('<div></div>').replaceWith(response.data). // $(response.data) or $('<div></div>').replaceWith(response.data).
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* @return {Array} * @return {Array}
*/ */
function autocompleteSplitValues(value) { function autocompleteSplitValues(value) {
// We will match the value against comma-seperated terms. // We will match the value against comma-separated terms.
var result = []; var result = [];
var quote = false; var quote = false;
var current = ''; var current = '';
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
var displacingElements = document.querySelectorAll('[data-offset-' + edge + ']'); var displacingElements = document.querySelectorAll('[data-offset-' + edge + ']');
for (var i = 0, n = displacingElements.length; i < n; i++) { for (var i = 0, n = displacingElements.length; i < n; i++) {
var el = displacingElements[i]; var el = displacingElements[i];
// If the element is not visble, do consider its dimensions. // If the element is not visible, do consider its dimensions.
if (el.style.display === 'none') { if (el.style.display === 'none') {
continue; continue;
} }
...@@ -135,12 +135,12 @@ ...@@ -135,12 +135,12 @@
// Left and top elements displace as a sum of their own offset value // Left and top elements displace as a sum of their own offset value
// plus their size. // plus their size.
case 'top': case 'top':
// Total displacment is the sum of the elements placement and size. // Total displacement is the sum of the elements placement and size.
displacement = placement + $el.outerHeight(); displacement = placement + $el.outerHeight();
break; break;
case 'left': case 'left':
// Total displacment is the sum of the elements placement and size. // Total displacement is the sum of the elements placement and size.
displacement = placement + $el.outerWidth(); displacement = placement + $el.outerWidth();
break; break;
......
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
* Triggers change events in case a state changed. * Triggers change events in case a state changed.
*/ */
reevaluate: function () { reevaluate: function () {
// Check whether any constraint for this dependent state is satisifed. // Check whether any constraint for this dependent state is satisfied.
var value = this.verifyConstraints(this.constraints); var value = this.verifyConstraints(this.constraints);
// Only invoke a state change event when the value actually changed. // Only invoke a state change event when the value actually changed.
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
/** /**
* Makes all elements outside the of the tabbingContext's set untabbable. * Makes all elements outside the of the tabbingContext's set untabbable.
* *
* Elements made untabble have their original tabindex and autfocus values * Elements made untabbable have their original tabindex and autofocus values
* stored so that they might be restored later when this tabbingContext * stored so that they might be restored later when this tabbingContext
* is deactivated. * is deactivated.
* *
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
/** /**
* Restores that tabbable state of a tabbingContext's disabled elements. * Restores that tabbable state of a tabbingContext's disabled elements.
* *
* Elements that were made untabble have their original tabindex and autfocus * Elements that were made untabbable have their original tabindex and autofocus
* values restored. * values restored.
* *
* @param TabbingContext tabbingContext * @param TabbingContext tabbingContext
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
} }
// When the toggle is pegged, its presence is maintained because the user // When the toggle is pegged, its presence is maintained because the user
// has interacted with it. This is necessary to keep the link visible if the // has interacted with it. This is necessary to keep the link visible if the
// user adjusts screen size and changes the visibilty of columns. // user adjusts screen size and changes the visibility of columns.
if (!pegged && hiddenLength === 0) { if (!pegged && hiddenLength === 0) {
this.$link.hide().text(this.hideText); this.$link.hide().text(this.hideText);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment