Permalink
Browse files

.

  • Loading branch information...
1 parent 49dcc10 commit 9861405075e8e8d5fe55b16ca3e394237693f179 amix committed Apr 21, 2014
Showing with 5 additions and 2 deletions.
  1. +0 −1 README.md
  2. +4 −1 lib/webpage-info.js
  3. +1 −0 src/webpage-info.coffee
View
@@ -1,4 +1,3 @@
-# Return webpage info
Return a webpage's title and favicon.
## Installing the library
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -11,6 +11,7 @@ exports.parse = (url, callback, timeout) ->
callback({'error': error})
else
title = body.match(RE_TITLE)
+
if title
title = title[1]
else

0 comments on commit 9861405

Please sign in to comment.