Skip to content

Commit

Permalink
Merge pull request #7 from leplatrem/patch-1
Browse files Browse the repository at this point in the history
Removing confusing assignment in example of README
  • Loading branch information
feross committed Jul 14, 2016
2 parents 8513ec6 + a4190e0 commit e8f1b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -30,7 +30,7 @@ var toBuffer = require('blob-to-buffer')
// Get a Blob somehow...
var blob = new Blob([ new Uint8Array([1, 2, 3]) ], { type: 'application/octet-binary' })

var buffer = toBuffer(blob, function (err, buffer) {
toBuffer(blob, function (err, buffer) {
if (err) throw err

buffer[0] // => 1
Expand Down

0 comments on commit e8f1b2b

Please sign in to comment.