From 6e25a17afbfdf7ec856b2d6319f0c7e55daf4176 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 7 Apr 2017 11:26:52 +0100 Subject: [PATCH] Typos --- src/store/indexeddb-local-backend.js | 2 +- src/store/indexeddb.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/indexeddb-local-backend.js b/src/store/indexeddb-local-backend.js index 5017a4c92..82d081b06 100644 --- a/src/store/indexeddb-local-backend.js +++ b/src/store/indexeddb-local-backend.js @@ -225,7 +225,7 @@ LocalIndexedDBStoreBackend.prototype = { /** * Persist a list of [user id, presence event] they are for. * Users with the same 'userId' will be replaced. - * Prfesence events should be the event in its raw form (not the Event + * Presence events should be the event in its raw form (not the Event * object) * @param {Object[]} tuples An array of [userid, event] tuples * @return {Promise} Resolves if the users were persisted. diff --git a/src/store/indexeddb.js b/src/store/indexeddb.js index 34dcdf719..df8d04e1d 100644 --- a/src/store/indexeddb.js +++ b/src/store/indexeddb.js @@ -67,7 +67,7 @@ const WRITE_DELAY_MS = 1000 * 60 * 5; // once every 5 minutes * window.indexedDB * @param {string=} opts.dbName Optional database name. The same name must be used * to open the same database. - * @param {string=} opts.workerScript Optional URL to a script to invooke a web + * @param {string=} opts.workerScript Optional URL to a script to invoke a web * worker with to run IndexedDB queries on the web worker. The IndexedDbStoreWorker * class is provided for this purpose and requires the application to provide a * trivial wrapper script around it.