Skip to content

Commit

Permalink
Update documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
totherik committed Feb 27, 2014
1 parent 04e23a7 commit d7d5829
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,11 @@ function buffer(value) {
return new Buffer(value);
}

function file(value, cb) {
return fs.readFile(value, cb);
}


var resolver, json;
resolver = shortstop.create();
resolver.use('buffer', buffer);
resolver.use('file', file);
resolver.use('file', fs.readFile);

json = {
"secret": "buffer:SGVsbG8sIHdvcmxkIQ==",
Expand Down

0 comments on commit d7d5829

Please sign in to comment.