1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 06:07:59 +01:00

Ditch useless dump statement.

This commit is contained in:
Kris Maglione
2011-01-16 22:58:46 -05:00
parent 9e5edb71f2
commit 7b34e1497e

View File

@@ -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"]);