Comparing version 1.0.7 to 1.0.8
{ | ||
"name": "storeit", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "A key/value storage system that publishes events.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/Storeit.js", |
@@ -21,3 +21,3 @@ Storeit! [![Build Status](https://travis-ci.org/YuzuJS/storeit.svg)](https://travis-ci.org/YuzuJS/storeit) | ||
**Storeit(namespace:string, storageProvider:Provider, logger?:Function):Storeit** | ||
**Storeit(namespace:string, storageProvider:Provider):Storeit** | ||
@@ -28,4 +28,2 @@ In order to use StoreIt, you must instantiate an instance. It takes two required and one optional parameter as follows: | ||
* **storageProvider**:Provider - Any of the storeit-provider-xxx providers. Currently the only provider is WebStorage. | ||
* **logger**:Function - A function that StoreIt will call to send information to the console. | ||
If you do not pass a function, no logging will take place. | ||
@@ -51,3 +49,3 @@ Example: | ||
// Create a store. | ||
var groceryStore = new Storeit("grocery", sessionStorageProvider, console.log.bind(console)); | ||
var groceryStore = new Storeit("grocery", sessionStorageProvider); | ||
```` | ||
@@ -54,0 +52,0 @@ |
44715
265