Index: third_party/readability/js/readability.js |
diff --git a/third_party/readability/js/readability.js b/third_party/readability/js/readability.js |
index 130ea29b04c2a95fdf2a9fe4781cbe4e3b2333a6..4308093edbb2e69e5f1464f72091a85180c140ff 100644 |
--- a/third_party/readability/js/readability.js |
+++ b/third_party/readability/js/readability.js |
@@ -1736,20 +1736,3 @@ var readability = { |
return readability.nextPageLink; |
} |
}; |
- |
-// Extracts long-form content from a page and returns and array where the first |
-// element is the article title, the second element is HTML containing the |
-// long-form content, and remaining elements are URLs for images referenced by |
-// that HTML. Each <img> tag in the HTML has an id field set to k - 2, which |
-// corresponds to a URL listed at index k in the array returned. |
-(function () { |
- readability.init(); |
- var result = new Array(4); |
- result[0] = readability.getArticleTitle(); |
- result[1] = readability.getDistilledArticleHTML(); |
- result[2] = readability.getNextPageLink(); |
- // TODO(shashishekhar): Add actual previous page link here. |
- result[3] = ''; |
- return result.concat(readability.getImages()); |
-}()) |
- |