Skip to content

Commit

Permalink
Fix misc. typos (select2#6045)
Browse files Browse the repository at this point in the history
Found via `codespell -q 3 -L eacf`
  • Loading branch information
luzpaz authored Jun 10, 2021
1 parent 413593c commit bdbaf38
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion dist/js/select2.full.js
Original file line number Diff line number Diff line change
Expand Up @@ -6429,7 +6429,7 @@ S2.define('select2/selection/stopPropagation',[
}

function shouldAdjustOldDeltas(orgEvent, absDelta) {
// If this is an older event and the delta is divisable by 120,
// If this is an older event and the delta is divisible by 120,
// then we are assuming that the browser is treating this as an
// older mouse wheel event and that we should divide the deltas
// by 40 to try and get a more usable deltaFactor.
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/highlight/css/solarized-dark.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <[email protected]>
Original Style from ethanschoonover.com/solarized (c) Jeremy Hull <[email protected]>
*/

Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/highlight/css/solarized-light.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <[email protected]>
Original Style from ethanschoonover.com/solarized (c) Jeremy Hull <[email protected]>
*/

Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/problems/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You should now have all the plugin files under
| PHP OpenSSL (Secure Sockets Library) | Checks to make sure that PHP OpenSSL is installed. |
| PHP Mbstring (Multibyte String Library) | Checks to make sure that PHP Mbstring is installed. |
| .htaccess | Checks to make sure that there is an `.htaccess` file in Grav's root directory. |
| `bin/*` executable | Checks that all the files in the `bin/` folder are exectuable. |
| `bin/*` executable | Checks that all the files in the `bin/` folder are executable. |
| Cache | Checks the `/cache` folder's existence and verifies that it is writeable. |
| Logs | Checks the `/logs` folder's existence and verifies that it is writeable. |
| Images | Checks the `/images` folder's existence and verifies that it is writeable. |
Expand Down
6 changes: 3 additions & 3 deletions docs/plugins/simplesearch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ simplesearch:
filter_combinator: and
```

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.
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.

# Usage

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

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.
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.

```
http://yoursite.com/search/query:something
Expand Down Expand Up @@ -115,7 +115,7 @@ You can also completely customize the look and feel of the results by overriding
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.
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
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
```
content:
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/simplesearch/blueprints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ form:
type: text
size: x-small
label: Minimum query length
help: The mimimum number of characters needed before serach can be submitted
help: The minimum number of characters needed before search can be submitted
validate:
type: number
min: 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Programatically determines whether a color is light or dark
// Programmatically determines whether a color is light or dark
// Returns a boolean
// More details here http://robots.thoughtbot.com/closer-look-color-lightness

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}

@function transition-property-name($prop, $vendor: false) {
// put other properties that need to be prefixed here aswell
// put other properties that need to be prefixed here as well
@if $vendor and $prop == transform {
@return unquote('-'+$vendor+'-'+$prop);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
$side: nth($pos, 2);

@if $length == 2 { // eg. to top
// Swap for backwards compatability
// Swap for backwards compatibility
$degree: _position-flipper(nth($pos, 2));
}
@else if $length == 3 { // eg. to top left
Expand All @@ -38,7 +38,7 @@
$spec: to $side $corner;
}
@else if $length == 1 {
// Swap for backwards compatability
// Swap for backwards compatibility
@if $type == string {
$degree: $pos;
$spec: to _position-flipper($pos);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@function cs-colorblind($color, $mode: $cs-colorblind) {

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

// Deuteranopia
@if $mode == deuteranopia {
Expand Down
2 changes: 1 addition & 1 deletion tests/dropdown/stopPropagation-tests.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module('Dropdown - Stoping event propagation');
module('Dropdown - Stopping event propagation');

var Dropdown = require('select2/dropdown');
var StopPropagation = require('select2/dropdown/stopPropagation');
Expand Down
2 changes: 1 addition & 1 deletion tests/options/translation-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module('Options - Translations', {
}
});

test('partial dictonaries are reset when default reset', function (assert) {
test('partial dictionaries are reset when default reset', function (assert) {
Defaults.set('language', {
test: 'testing'
});
Expand Down
2 changes: 1 addition & 1 deletion tests/selection/stopPropagation-tests.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module('Selection containers - Stoping event propagation');
module('Selection containers - Stopping event propagation');

var SingleSelection = require('select2/selection/single');
var StopPropagation = require('select2/selection/stopPropagation');
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/decorator-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ test('inherited - three levels', function (assert) {

var inst = new DecoratedClass('test');

assert.ok(inst.baseCalled, 'The base class contructor was called');
assert.ok(inst.baseCalled, 'The base class constructor was called');
assert.ok(inst.middleCalled, 'The middle class constructor was called');
assert.ok(inst.decoratorCalled, 'The decorator constructor was called');

Expand Down

0 comments on commit bdbaf38

Please sign in to comment.