Skip to content

Commit

Permalink
Merge pull request #4 from mozilla/st3fan/ReturnUri
Browse files Browse the repository at this point in the history
Readability.parse() also return the uri
  • Loading branch information
st3fan committed Feb 9, 2015
2 parents b67d8c1 + 7057e46 commit 296b132
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Readability.js
Original file line number Diff line number Diff line change
Expand Up @@ -1513,7 +1513,8 @@ Readability.prototype = {

var excerpt = this._getExcerpt(articleContent);

return { title: articleTitle,
return { uri: this._uri,
title: articleTitle,
byline: this._articleByline,
dir: this._articleDir,
content: articleContent.innerHTML,
Expand Down

0 comments on commit 296b132

Please sign in to comment.