From 06f47e562c6e334bc2b45642facff73b499e99f5 Mon Sep 17 00:00:00 2001 From: Vladimir Starkov Date: Wed, 5 Aug 2015 22:54:01 +0200 Subject: [PATCH] switch back to => --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 61aa544..1838045 100644 --- a/index.js +++ b/index.js @@ -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 {