docs: Fix a few typos (#6878)

There are small typos in:
- closure/goog/base.js
- demos/minimap/minimap.js
- gulpfile.js
- scripts/gulpfiles/build_tasks.js
- scripts/gulpfiles/cleanup_tasks.js
- scripts/gulpfiles/license_tasks.js

Fixes:
- Should read `prerequisites` rather than `prequisites`.
- Should read `satisfies` rather than `satisifies`.
- Should read `regenerates` rather than `regenrates`.
- Should read `minimap` rather than `mimimap`.
- Should read `diagnostic` rather than `disagnostic`.

Signed-off-by: Tim Gates <tim.gates@iress.com>
This commit is contained in:
Tim Gates
2023-03-14 23:15:37 +11:00
committed by GitHub
parent 9fd29e7aac
commit 0a1096262f
6 changed files with 8 additions and 8 deletions

View File

@@ -727,7 +727,7 @@ if (!COMPILED) {
// NOTE: We add goog.module as an implicit namespace as goog.module is defined
// here and because the existing module package has not been moved yet out of
// the goog.module namespace. This satisifies both the debug loader and
// the goog.module namespace. This satisfies both the debug loader and
// ahead-of-time dependency management.
}

View File

@@ -198,7 +198,7 @@ Minimap.scaleMinimap = function() {
var workspaceMetrics = Minimap.workspace.getMetrics();
var minimapMetrics = Minimap.minimap.getMetrics();
// Scaling the mimimap such that all the blocks can be seen in the viewport.
// Scaling the minimap such that all the blocks can be seen in the viewport.
// This padding is default because this is how to scrollbar(in main workspace)
// is implemented.
var topPadding = (workspaceMetrics.viewHeight) * Minimap.minimap.scale /

View File

@@ -40,7 +40,7 @@ module.exports = {
deployDemosBeta: appengineTasks.deployDemosBeta,
gitUpdateGithubPages: gitTasks.updateGithubPages,
// Manually-invokable targets, with prequisites where required.
// Manually-invokable targets, with prerequisites where required.
format: buildTasks.format,
messages: buildTasks.messages, // Generate msg/json/en.json et al.
sortRequires: cleanupTasks.sortRequires,

View File

@@ -254,7 +254,7 @@ const JSCOMP_OFF = [
* When adding additional items to this list it may be helpful to
* search the compiler source code
* (https://github.com/google/closure-compiler/) for the JSC_*
* disagnostic name (omitting the JSC_ prefix) to find the corresponding
* diagnostic name (omitting the JSC_ prefix) to find the corresponding
* DiagnosticGroup.
*/
'checkTypes',
@@ -376,7 +376,7 @@ error message above, try running:
}
/**
* This task regenrates msg/json/en.js and msg/json/qqq.js from
* This task regenerates msg/json/en.js and msg/json/qqq.js from
* msg/messages.js.
*/
function generateMessages(done) {
@@ -738,7 +738,7 @@ exports.deps = gulp.series(exports.tsc, buildDeps);
exports.minify = gulp.series(exports.deps, buildCompiled);
exports.build = gulp.parallel(exports.minify, exports.langfiles);
// Manually-invokable targets, with prequisites where required.
// Manually-invokable targets, with prerequisites where required.
exports.format = format;
exports.messages = generateMessages; // Generate msg/json/en.json et al.
exports.buildAdvancedCompilationTest =

View File

@@ -81,6 +81,6 @@ function sortRequires() {
};
module.exports = {
// Manually-invokable targets, with prequisites where required.
// Manually-invokable targets, with prerequisites where required.
sortRequires: sortRequires
};

View File

@@ -17,6 +17,6 @@ function checkLicenses() {
};
module.exports = {
// Manually-invokable targets, with prequisites where required.
// Manually-invokable targets, with prerequisites where required.
checkLicenses: checkLicenses
};