Skip to content

Commit ea22cf2

Browse files
Fix typos in some files (#5144)
1 parent 8c91749 commit ea22cf2

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

modules/@apostrophecms/asset/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = {
3131
// If false no UI assets sources will be watched in development.
3232
// This option has no effect in production (watch disabled).
3333
watch: true,
34-
// Miliseconds to wait between asset sources changes before
34+
// Milliseconds to wait between asset sources changes before
3535
// performing a build.
3636
watchDebounceMs: 1000,
3737
// Object containing instructions for remapping existing bundles.

modules/@apostrophecms/asset/lib/build/external-module-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ function invoke() {
196196
}` + '\n'
197197
: '';
198198

199-
// Remove the identation per line.
199+
// Remove the indentation per line.
200200
// It may look weird, but the result is nice and formatted import file.
201201
output += (js && js.invokeCode.trim().split('\n').map(l => l.trim()).join('\n') + '\n') || '';
202202

modules/@apostrophecms/asset/lib/build/internals.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ module.exports = (self) => {
201201
// return a list of all bundle files.
202202
//
203203
// The `bundles` (Set) property added to the entrypoints configuration
204-
// contans the bundle files used later when injecting the scripts and
204+
// contains the bundle files used later when injecting the scripts and
205205
// stylesheets in the browser. The `metadata` is the return value of the
206206
// external build module build method (see `self.build()` and
207207
// `configureBuildModule()`).

modules/@apostrophecms/asset/lib/webpack/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ async function verifyBundlesEntryPoints (bundles) {
284284
// already verified it's unique for the given module
285285
if (!remapping.source) {
286286
// Bundle name for "main" "doesn't matter - it will be ignored and
287-
// never built, we want to achieve a free from colision name. What
287+
// never built, we want to achieve a free from collision name. What
288288
// matters is main = true. Target is 'main' by convention:
289289
// `main.bundleName`
290290
bundleName = `${remapping.target}.${bundleName}`;

modules/@apostrophecms/doc-type/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2566,7 +2566,7 @@ module.exports = {
25662566
baseQuery.set('choices-query-prefinalize', null);
25672567
for (const filter of filters) {
25682568
// The choices for each filter should reflect the effect of all
2569-
// filters except this one (filtering by topic pares down the list
2569+
// filters except this one (filtering by topic pairs down the list
25702570
// of categories and vice versa)
25712571
const _query = baseQuery.clone();
25722572
// Make sure this is a legitimate builder before attempting to

modules/@apostrophecms/doc/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ module.exports = {
986986
});
987987
},
988988
// Set meta data for a given field, that will be live under `aposMeta`
989-
// doc property. It returns the path to the meta property withouth the
989+
// doc property. It returns the path to the meta property without the
990990
// key. See `getMetaPath` method for more information.
991991
//
992992
// Signature:
@@ -1194,7 +1194,7 @@ module.exports = {
11941194
// See `setMeta` for more information about `subobject` and
11951195
// `pathComponents` arguments.
11961196
//
1197-
// Returns the path to the meta property withouth the namespace and key.
1197+
// Returns the path to the meta property without the namespace and key.
11981198
// The returned path can be directly used to access or modify the meta
11991199
// property. It's supported by all meta API methods.
12001200
//
@@ -1514,7 +1514,7 @@ module.exports = {
15141514
// the menu will be shown only for docs which have `autopublish: false`
15151515
// and `localized: true` options.
15161516
//
1517-
// `conditions` defines the circumstances under which the opetion should
1517+
// `conditions` defines the circumstances under which the option should
15181518
// be displayed. If all `conditions` are not met, the item is not
15191519
// displayed for this particular document.
15201520
//

modules/@apostrophecms/doc/ui/apos/mixins/AposFieldMetaUtilsMixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default {
3535
* match a value if a key and value are provided. If no key is provided,
3636
* the namespace is matched.
3737
* Meta keys (inside `metaObject`) starting with '@' are ignored,
38-
* if not explicitely set otherwise, as they are absolute paths
38+
* if not explicitly set otherwise, as they are absolute paths
3939
* and will be yielding false positives.
4040
*
4141
* @param {object} metaObject the meta object or any object inside it

0 commit comments

Comments
 (0)