Skip to content

Commit

Permalink
Docblock these.
Browse files Browse the repository at this point in the history
  • Loading branch information
aubreypwd committed Apr 1, 2021
1 parent e2befae commit e96e92f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/TablePlus.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,26 @@ export default class TablePlus extends React.Component {
return !tmpExists;
}

/**
* Console out an error
*
* @author Aubrey Portwood <aubrey@webdevstudios.com>
* @since 1.5.0
* @param {mixed} what What to present.
* @return {void}
*/
error (what) {
console.error(what);
}

/**
* Console out a warning
*
* @author Aubrey Portwood <aubrey@webdevstudios.com>
* @since 1.5.0
* @param {mixed} what What to present.
* @return {void}
*/
warn (what) {
console.warn(what);
}
Expand Down

0 comments on commit e96e92f

Please sign in to comment.