Skip to content

Commit

Permalink
We don't really need this, everything gets handled via the error call…
Browse files Browse the repository at this point in the history
…backs and we'd rather not be throwing errors here
  • Loading branch information
samt committed Aug 10, 2014
1 parent 272ad97 commit 45b5d9d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ module.exports = function (moduleName, options) {
options.h = options.height || 0;
options.type = (options.type) ? options.type.toUpperCase().trim() : 'PNG';

// @todo add error handling here for barcodes for issues with options, each
// type should not have to be responsible for it.

return new Barcode(moduleName, options);
}

Expand Down

0 comments on commit 45b5d9d

Please sign in to comment.