Skip to content

Commit

Permalink
update readme to the newest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jorishermans committed Jul 4, 2014
1 parent b651c1d commit 6ab7833
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ It has the same interface as of localstorage.

Just make an instance of Storage.

Storage storage = new Storage();
Cargo storage = new Cargo();

Then you will have an asynchronous method to say that the storage is started

Storage storage = new Storage(path: "store/");
Cargo storage = new Cargo(MODE: CargoMode.FILE, path: "../store/");

storage.start().then((_) {
// do storage operations
Expand Down

0 comments on commit 6ab7833

Please sign in to comment.