Skip to content

Commit bdbaf38

Browse files
authored
Fix misc. typos (select2#6045)
Found via `codespell -q 3 -L eacf`
1 parent 413593c commit bdbaf38

File tree

14 files changed

+17
-17
lines changed

14 files changed

+17
-17
lines changed

dist/js/select2.full.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6429,7 +6429,7 @@ S2.define('select2/selection/stopPropagation',[
64296429
}
64306430

64316431
function shouldAdjustOldDeltas(orgEvent, absDelta) {
6432-
// If this is an older event and the delta is divisable by 120,
6432+
// If this is an older event and the delta is divisible by 120,
64336433
// then we are assuming that the browser is treating this as an
64346434
// older mouse wheel event and that we should divide the deltas
64356435
// by 40 to try and get a more usable deltaFactor.

docs/plugins/highlight/css/solarized-dark.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
3-
Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <[email protected]>
3+
Original Style from ethanschoonover.com/solarized (c) Jeremy Hull <[email protected]>
44
55
*/
66

docs/plugins/highlight/css/solarized-light.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
3-
Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <[email protected]>
3+
Original Style from ethanschoonover.com/solarized (c) Jeremy Hull <[email protected]>
44
55
*/
66

docs/plugins/problems/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ You should now have all the plugin files under
4343
| PHP OpenSSL (Secure Sockets Library) | Checks to make sure that PHP OpenSSL is installed. |
4444
| PHP Mbstring (Multibyte String Library) | Checks to make sure that PHP Mbstring is installed. |
4545
| .htaccess | Checks to make sure that there is an `.htaccess` file in Grav's root directory. |
46-
| `bin/*` executable | Checks that all the files in the `bin/` folder are exectuable. |
46+
| `bin/*` executable | Checks that all the files in the `bin/` folder are executable. |
4747
| Cache | Checks the `/cache` folder's existence and verifies that it is writeable. |
4848
| Logs | Checks the `/logs` folder's existence and verifies that it is writeable. |
4949
| Images | Checks the `/images` folder's existence and verifies that it is writeable. |

docs/plugins/simplesearch/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ simplesearch:
6161
filter_combinator: and
6262
```
6363

64-
These page headers will only be taken into account if the search route points to this page. For example: here the the route points to `@self` which in turn resolves to `/blog`. You can also specify the route explicity with `route: /blog` if you so choose. This header is within the `/user/pages/blog/blog.md` file. We will cover this self-controlled form of search handling below.
64+
These page headers will only be taken into account if the search route points to this page. For example: here the the route points to `@self` which in turn resolves to `/blog`. You can also specify the route explicitly with `route: /blog` if you so choose. This header is within the `/user/pages/blog/blog.md` file. We will cover this self-controlled form of search handling below.
6565

6666
# Usage
6767

@@ -77,7 +77,7 @@ After installing the SimpleSearch plugin, you can add a simple **searchbox** to
7777
{% include 'partials/simplesearch_searchbox.html.twig' %}
7878
```
7979

80-
By default the **simplesearch_searchbox** Twig template uses the `route` as defined in the configuration. The SimpleSearch plugin uses this route and then appends a `query:` paramater to create the following final URL.
80+
By default the **simplesearch_searchbox** Twig template uses the `route` as defined in the configuration. The SimpleSearch plugin uses this route and then appends a `query:` parameter to create the following final URL.
8181

8282
```
8383
http://yoursite.com/search/query:something
@@ -115,7 +115,7 @@ You can also completely customize the look and feel of the results by overriding
115115
116116
This is a new feature of SimpleSearch and it very useful and simple way to provide a 'filter' like search of a collection listing page. In this example, we will assume you have a Blog listing page you wish to be able to search and filter based on a search box.
117117
118-
To accomplish this, you need ot use the page-based configuration as described above, and configure multiple filters, `@self` to use the page's content collection: http://learn.getgrav.org/content/headers#collection-headers
118+
To accomplish this, you need to use the page-based configuration as described above, and configure multiple filters, `@self` to use the page's content collection: http://learn.getgrav.org/content/headers#collection-headers
119119
120120
```
121121
content:

docs/plugins/simplesearch/blueprints.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ form:
7474
type: text
7575
size: x-small
7676
label: Minimum query length
77-
help: The mimimum number of characters needed before serach can be submitted
77+
help: The minimum number of characters needed before search can be submitted
7878
validate:
7979
type: number
8080
min: 0

docs/themes/learn2/scss/vendor/bourbon/functions/_color-lightness.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Programatically determines whether a color is light or dark
1+
// Programmatically determines whether a color is light or dark
22
// Returns a boolean
33
// More details here http://robots.thoughtbot.com/closer-look-color-lightness
44

docs/themes/learn2/scss/vendor/bourbon/functions/_transition-property-name.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313

1414
@function transition-property-name($prop, $vendor: false) {
15-
// put other properties that need to be prefixed here aswell
15+
// put other properties that need to be prefixed here as well
1616
@if $vendor and $prop == transform {
1717
@return unquote('-'+$vendor+'-'+$prop);
1818
}

docs/themes/learn2/scss/vendor/bourbon/helpers/_linear-positions-parser.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
$side: nth($pos, 2);
1212

1313
@if $length == 2 { // eg. to top
14-
// Swap for backwards compatability
14+
// Swap for backwards compatibility
1515
$degree: _position-flipper(nth($pos, 2));
1616
}
1717
@else if $length == 3 { // eg. to top left
@@ -38,7 +38,7 @@
3838
$spec: to $side $corner;
3939
}
4040
@else if $length == 1 {
41-
// Swap for backwards compatability
41+
// Swap for backwards compatibility
4242
@if $type == string {
4343
$degree: $pos;
4444
$spec: to _position-flipper($pos);

docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_colorblind.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@function cs-colorblind($color, $mode: $cs-colorblind) {
22

3-
// Refrence: http://www.w3.org/TR/AERT#color-contrast
3+
// Reference: http://www.w3.org/TR/AERT#color-contrast
44

55
// Deuteranopia
66
@if $mode == deuteranopia {

tests/dropdown/stopPropagation-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module('Dropdown - Stoping event propagation');
1+
module('Dropdown - Stopping event propagation');
22

33
var Dropdown = require('select2/dropdown');
44
var StopPropagation = require('select2/dropdown/stopPropagation');

tests/options/translation-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module('Options - Translations', {
1111
}
1212
});
1313

14-
test('partial dictonaries are reset when default reset', function (assert) {
14+
test('partial dictionaries are reset when default reset', function (assert) {
1515
Defaults.set('language', {
1616
test: 'testing'
1717
});

tests/selection/stopPropagation-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module('Selection containers - Stoping event propagation');
1+
module('Selection containers - Stopping event propagation');
22

33
var SingleSelection = require('select2/selection/single');
44
var StopPropagation = require('select2/selection/stopPropagation');

tests/utils/decorator-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ test('inherited - three levels', function (assert) {
175175

176176
var inst = new DecoratedClass('test');
177177

178-
assert.ok(inst.baseCalled, 'The base class contructor was called');
178+
assert.ok(inst.baseCalled, 'The base class constructor was called');
179179
assert.ok(inst.middleCalled, 'The middle class constructor was called');
180180
assert.ok(inst.decoratorCalled, 'The decorator constructor was called');
181181

0 commit comments

Comments
 (0)