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:
@@ -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"]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user