From 7b34e1497e3404e1d1ebb9ec10e6453b6f69b834 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sun, 16 Jan 2011 22:58:46 -0500 Subject: [PATCH] Ditch useless dump statement. --- common/content/buffer.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/common/content/buffer.js b/common/content/buffer.js index fea890f6..85de3ecd 100644 --- a/common/content/buffer.js +++ b/common/content/buffer.js @@ -174,15 +174,14 @@ var Buffer = Module("buffer", { else ext = ""; let re = ext ? RegExp("(\\." + currExt + ")?$") : /$/; - util.dump(ext.quote(), - isinstance(node, [Document, HTMLImageElement]), - node.contentType); var names = []; if (node.title) names.push([node.title, "Page Name"]); + if (node.alt) names.push([node.alt, "Alternate Text"]); + if (!isinstance(node, Document) && node.textContent) names.push([node.textContent, "Link Text"]);