Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Commit

Permalink
fix: add class name
Browse files Browse the repository at this point in the history
JS parser in `aegir docs` is old and doesn't support anonymous classes.

License: MIT
Signed-off-by: Alan Shaw <[email protected]>
  • Loading branch information
Alan Shaw authored and vmx committed Sep 25, 2018
1 parent 7196bff commit b9fc845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const withIs = require('class-is')
* , as defined in [ipld/cid](https://github.com/ipld/cid).
* @class CID
*/
const CID = withIs(class {
const CID = withIs(class _CID {
/**
* Create a new CID.
*
Expand Down

0 comments on commit b9fc845

Please sign in to comment.