Skip to content

Commit faa3252

Browse files
authored
Merge pull request #1274 from szepeviktor/typos
Fix typos
2 parents b8a1b58 + b36d018 commit faa3252

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

documentation/assets/wNumb.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ var FormatOptions = [
232232
return false;
233233
}
234234

235-
// Covert to number.
235+
// Convert to number.
236236
output = Number(output);
237237

238238
// Run the user-specified post-decoder.

documentation/behaviour-option.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
<section>
172172

173173
<div class="view">
174-
<p>A handle snaps to a clicked location. It can immediatly be moved, without a <code>mouseup</code> + <code>mousedown</code>.</p>
174+
<p>A handle snaps to a clicked location. It can immediately be moved, without a <code>mouseup</code> + <code>mousedown</code>.</p>
175175
<div class="example">
176176
<div id="snap"></div>
177177
<?php run('snap'); ?>

documentation/download.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030

3131
<p>noUiSlider can be downloaded from GitHub. Required files are in the <code>dist</code> folder. To compile from sources, run <code>npm run build</code>.</p>
3232

33-
<a href="https://github.com/leongersen/noUiSlider/releases" data-category="convert" data-action="download">Download noUiSlider from Github</a>
33+
<a href="https://github.com/leongersen/noUiSlider/releases" data-category="convert" data-action="download">Download noUiSlider from GitHub</a>
3434

3535
</section>

documentation/events-callbacks.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
<div class="view">
158158
<p>noUiSlider uses a custom binding model with support for namespaces. There are two methods, <code>.on(eventName, callback)</code> and <code>.off(eventName)</code>. Events can be namespaced by appending a period ('.') and an identifier to the event name.</p>
159159

160-
<p>Nested namespaces (<code>'slide.something.else'</code>) are not supported, and are threated as a single namespace (so <code>'.a.b'</code> isn't related to <code>'.a'</code>).</p>
160+
<p>Nested namespaces (<code>'slide.something.else'</code>) are not supported, and are treated as a single namespace (so <code>'.a.b'</code> isn't related to <code>'.a'</code>).</p>
161161

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

documentation/examples-content/styling.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<?php loadShowCSS('styling-no-overlap'); ?>
4646
</div>
4747

48-
<div class="viewer-header">Fit handles withing the slider</div>
48+
<div class="viewer-header">Fit handles within the slider</div>
4949

5050
<div class="viewer-content">
5151
<?php loadShowCSS('styling-fit'); ?>

src/nouislider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ function offset(elem: HTMLElement, orientation: 0 | 1): number {
342342

343343
// getBoundingClientRect contains left scroll in Chrome on Android.
344344
// I haven't found a feature detection that proves this. Worst case
345-
// scenario on mis-match: the 'tap' feature on horizontal sliders breaks.
345+
// scenario on mismatch: the 'tap' feature on horizontal sliders breaks.
346346
if (/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)) {
347347
pageOffset.x = 0;
348348
}
@@ -776,7 +776,7 @@ class Spectrum {
776776
private handleEntryPoint(index: string, value: WrappedSubRange): void {
777777
let percentage;
778778

779-
// Covert min/max syntax to 0 and 100.
779+
// Convert min/max syntax to 0 and 100.
780780
if (index === "min") {
781781
percentage = 0;
782782
} else if (index === "max") {

0 commit comments

Comments
 (0)