Skip to content

Commit

Permalink
fix: make docs less contrived
Browse files Browse the repository at this point in the history
  • Loading branch information
lewiscowper committed Dec 11, 2015
1 parent 040db32 commit d8ad74a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import { storage } from 'check-storage';

console.log(storage.type);
try {
console.log(storage.add(key, value));
console.log(storage.get(key));
console.log(storage.remove(key));
storage.add(key, value);
storage.get(key);
storage.remove(key);
} catch {
console.log('storage not initialised. Maybe the env has neither API?')
}
Expand Down

0 comments on commit d8ad74a

Please sign in to comment.