From 2a287f3147d93cfbbe5721e3837089cb66656608 Mon Sep 17 00:00:00 2001
From: Jennifer Hodgdon <yahgrp@poplarware.com>
Date: Thu, 18 Sep 2014 07:22:54 -0700
Subject: [PATCH] Issue #2329703 by maximpodorov: Fix spelling in varous files

---
 core/misc/ajax.js            | 2 +-
 core/misc/autocomplete.js    | 2 +-
 core/misc/displace.js        | 6 +++---
 core/misc/states.js          | 2 +-
 core/misc/tabbingmanager.js  | 4 ++--
 core/misc/tableresponsive.js | 2 +-
 6 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/core/misc/ajax.js b/core/misc/ajax.js
index dc3fe34eb5dc..705d592e2d99 100644
--- a/core/misc/ajax.js
+++ b/core/misc/ajax.js
@@ -573,7 +573,7 @@
       var settings;
 
       // 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 contains top-level text nodes, they get lost with either
       // $(response.data) or $('<div></div>').replaceWith(response.data).
diff --git a/core/misc/autocomplete.js b/core/misc/autocomplete.js
index 27369c0295e9..af6452131406 100644
--- a/core/misc/autocomplete.js
+++ b/core/misc/autocomplete.js
@@ -12,7 +12,7 @@
    * @return {Array}
    */
   function autocompleteSplitValues(value) {
-    // We will match the value against comma-seperated terms.
+    // We will match the value against comma-separated terms.
     var result = [];
     var quote = false;
     var current = '';
diff --git a/core/misc/displace.js b/core/misc/displace.js
index bd52489cb61c..ce99181b87f6 100644
--- a/core/misc/displace.js
+++ b/core/misc/displace.js
@@ -87,7 +87,7 @@
     var displacingElements = document.querySelectorAll('[data-offset-' + edge + ']');
     for (var i = 0, n = displacingElements.length; i < n; 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') {
         continue;
       }
@@ -135,12 +135,12 @@
       // Left and top elements displace as a sum of their own offset value
       // plus their size.
       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();
         break;
 
       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();
         break;
 
diff --git a/core/misc/states.js b/core/misc/states.js
index f5417ac87303..b90015c9cb42 100644
--- a/core/misc/states.js
+++ b/core/misc/states.js
@@ -176,7 +176,7 @@
      * Triggers change events in case a state changed.
      */
     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);
 
       // Only invoke a state change event when the value actually changed.
diff --git a/core/misc/tabbingmanager.js b/core/misc/tabbingmanager.js
index 9382d42268d6..b80f2a3c8f9e 100644
--- a/core/misc/tabbingmanager.js
+++ b/core/misc/tabbingmanager.js
@@ -93,7 +93,7 @@
     /**
      * 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
      * is deactivated.
      *
@@ -133,7 +133,7 @@
     /**
      * 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.
      *
      * @param TabbingContext tabbingContext
diff --git a/core/misc/tableresponsive.js b/core/misc/tableresponsive.js
index 33e7b8e8652f..1bf6d072a914 100644
--- a/core/misc/tableresponsive.js
+++ b/core/misc/tableresponsive.js
@@ -71,7 +71,7 @@
       }
       // 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
-      // user adjusts screen size and changes the visibilty of columns.
+      // user adjusts screen size and changes the visibility of columns.
       if (!pegged && hiddenLength === 0) {
         this.$link.hide().text(this.hideText);
       }
-- 
GitLab