From c739784f79e4f681a35cbc7bcf7da15e8dbe467f Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sun, 20 Sep 2020 06:24:38 +1000 Subject: [PATCH] docs: Fix simple typo, hopfully -> hopefully There is a small typo in docs/assets/js/add-preview-buttons.js, docs/assets/js/index.js. Should read `hopefully` rather than `hopfully`. --- docs/assets/js/add-preview-buttons.js | 114 +++++++++++----------- docs/assets/js/index.js | 134 +++++++++++++------------- 2 files changed, 124 insertions(+), 124 deletions(-) diff --git a/docs/assets/js/add-preview-buttons.js b/docs/assets/js/add-preview-buttons.js index b137730e..1a213bc3 100644 --- a/docs/assets/js/add-preview-buttons.js +++ b/docs/assets/js/add-preview-buttons.js @@ -196,12 +196,12 @@ return /******/ (function(modules) { // webpackBootstrap return Object.prototype.toString.call(arg) === '[object Array]'; }; - /** - * Loads the given name (or [name, options] pair) from the given table object - * holding the available presets or plugins. - * - * Returns undefined if the preset or plugin is not available; passes through - * name unmodified if it (or the first element of the pair) is not a string. + /** + * Loads the given name (or [name, options] pair) from the given table object + * holding the available presets or plugins. + * + * Returns undefined if the preset or plugin is not available; passes through + * name unmodified if it (or the first element of the pair) is not a string. */ function loadBuiltin(builtinTable, name) { if (isArray(name) && typeof name[0] === 'string') { @@ -216,8 +216,8 @@ return /******/ (function(modules) { // webpackBootstrap return name; } - /** - * Parses plugin names and presets from the specified options. + /** + * Parses plugin names and presets from the specified options. */ function processOptions(options) { // Parse preset names @@ -265,8 +265,8 @@ return /******/ (function(modules) { // webpackBootstrap var availablePlugins = exports.availablePlugins = {}; var availablePresets = exports.availablePresets = {}; var buildExternalHelpers = exports.buildExternalHelpers = Babel.buildExternalHelpers; - /** - * Registers a named plugin for use with Babel. + /** + * Registers a named plugin for use with Babel. */ function registerPlugin(name, plugin) { if (availablePlugins.hasOwnProperty(name)) { @@ -274,9 +274,9 @@ return /******/ (function(modules) { // webpackBootstrap } availablePlugins[name] = plugin; } - /** - * Registers multiple plugins for use with Babel. `newPlugins` should be an object where the key - * is the name of the plugin, and the value is the plugin itself. + /** + * Registers multiple plugins for use with Babel. `newPlugins` should be an object where the key + * is the name of the plugin, and the value is the plugin itself. */ function registerPlugins(newPlugins) { Object.keys(newPlugins).forEach(function (name) { @@ -284,8 +284,8 @@ return /******/ (function(modules) { // webpackBootstrap }); } - /** - * Registers a named preset for use with Babel. + /** + * Registers a named preset for use with Babel. */ function registerPreset(name, preset) { if (availablePresets.hasOwnProperty(name)) { @@ -293,9 +293,9 @@ return /******/ (function(modules) { // webpackBootstrap } availablePresets[name] = preset; } - /** - * Registers multiple presets for use with Babel. `newPresets` should be an object where the key - * is the name of the preset, and the value is the preset itself. + /** + * Registers multiple presets for use with Babel. `newPresets` should be an object where the key + * is the name of the preset, and the value is the preset itself. */ function registerPresets(newPresets) { Object.keys(newPresets).forEach(function (name) { @@ -415,16 +415,16 @@ return /******/ (function(modules) { // webpackBootstrap }, false); } - /** - * Transform