diff --git a/documentation/assets/wNumb.js b/documentation/assets/wNumb.js index 4ab340fe..e8f46f71 100644 --- a/documentation/assets/wNumb.js +++ b/documentation/assets/wNumb.js @@ -232,7 +232,7 @@ var FormatOptions = [ return false; } - // Covert to number. + // Convert to number. output = Number(output); // Run the user-specified post-decoder. diff --git a/documentation/behaviour-option.php b/documentation/behaviour-option.php index e242046a..6ff47a83 100644 --- a/documentation/behaviour-option.php +++ b/documentation/behaviour-option.php @@ -171,7 +171,7 @@
-

A handle snaps to a clicked location. It can immediatly be moved, without a mouseup + mousedown.

+

A handle snaps to a clicked location. It can immediately be moved, without a mouseup + mousedown.

diff --git a/documentation/download.php b/documentation/download.php index 53d71ee9..d083d849 100644 --- a/documentation/download.php +++ b/documentation/download.php @@ -30,6 +30,6 @@

noUiSlider can be downloaded from GitHub. Required files are in the dist folder. To compile from sources, run npm run build.

- Download noUiSlider from Github + Download noUiSlider from GitHub
diff --git a/documentation/events-callbacks.php b/documentation/events-callbacks.php index f90c4c81..dc57c923 100644 --- a/documentation/events-callbacks.php +++ b/documentation/events-callbacks.php @@ -157,7 +157,7 @@

noUiSlider uses a custom binding model with support for namespaces. There are two methods, .on(eventName, callback) and .off(eventName). Events can be namespaced by appending a period ('.') and an identifier to the event name.

-

Nested namespaces ('slide.something.else') are not supported, and are threated as a single namespace (so '.a.b' isn't related to '.a').

+

Nested namespaces ('slide.something.else') are not supported, and are treated as a single namespace (so '.a.b' isn't related to '.a').

values is an array containing the current slider values, with formatting applied. handle is the index of the handle that caused the event, starting at zero. values[handle] gives the value for the handle that triggered the event.

diff --git a/documentation/examples-content/styling.php b/documentation/examples-content/styling.php index 38c302f6..b1b64060 100644 --- a/documentation/examples-content/styling.php +++ b/documentation/examples-content/styling.php @@ -45,7 +45,7 @@
-
Fit handles withing the slider
+
Fit handles within the slider
diff --git a/src/nouislider.ts b/src/nouislider.ts index 131c56ac..adf0ea75 100644 --- a/src/nouislider.ts +++ b/src/nouislider.ts @@ -342,7 +342,7 @@ function offset(elem: HTMLElement, orientation: 0 | 1): number { // getBoundingClientRect contains left scroll in Chrome on Android. // I haven't found a feature detection that proves this. Worst case - // scenario on mis-match: the 'tap' feature on horizontal sliders breaks. + // scenario on mismatch: the 'tap' feature on horizontal sliders breaks. if (/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)) { pageOffset.x = 0; } @@ -776,7 +776,7 @@ class Spectrum { private handleEntryPoint(index: string, value: WrappedSubRange): void { let percentage; - // Covert min/max syntax to 0 and 100. + // Convert min/max syntax to 0 and 100. if (index === "min") { percentage = 0; } else if (index === "max") {