Merge pull request #542 from darkyen/patch-1

Fix documentation
This commit is contained in:
Bart Butler 2017-04-08 14:49:25 -07:00 committed by GitHub
commit 151e07e16c

View File

@ -32,7 +32,7 @@ import LocalStore from './localstore.js';
* Initialization routine for the keyring. This method reads the
* keyring from HTML5 local storage and initializes this instance.
* @constructor
* @param {class} [storeHandler] class implementing load() and store() methods
* @param {class} [storeHandler] class implementing loadPublic(), loadPrivate(), storePublic(), and storePrivate() methods
*/
export default function Keyring(storeHandler) {
this.storeHandler = storeHandler || new LocalStore();