docs: fixed typos

This commit is contained in:
freddii 2021-02-03 00:30:07 +01:00
parent 65dec5bd2c
commit ea202e41f6
24 changed files with 37 additions and 37 deletions

View file

@ -1,7 +1,7 @@
'use strict';
/**
* The DB Module provides a database initalized with the settings
* The DB Module provides a database initialized with the settings
* provided by the settings module
*/
@ -36,7 +36,7 @@ const db =
exports.db = null;
/**
* Initalizes the database with the settings provided by the settings module
* Initializes the database with the settings provided by the settings module
* @param {Function} callback
*/
exports.init = async () => await new Promise((resolve, reject) => {

View file

@ -139,7 +139,7 @@ exports.getPad = async (id, text) => {
// try to load pad
pad = new Pad(id);
// initalize the pad
// initialize the pad
await pad.init(text);
globalPads.set(id, pad);
padList.addPad(id);