Skip to content

Commit

Permalink
switch back to =>
Browse files Browse the repository at this point in the history
  • Loading branch information
iamstarkov committed Aug 5, 2015
1 parent 2c52851 commit 06f47e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import trimTag from 'trim-html-tag';

const isTitle = node => isHeader(node) && isLevel(node, 1);

export default function getTitle(input) {
export default input => {
const node = match(input, isTitle);
if (!node) return;
return {
Expand Down

0 comments on commit 06f47e5

Please sign in to comment.