mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 10:17:59 +01:00
Remove the useless buffer.destroy definition.
This commit is contained in:
@@ -159,9 +159,6 @@ var Buffer = Module("buffer", {
|
|||||||
this.cleanupProgressListener();
|
this.cleanupProgressListener();
|
||||||
},
|
},
|
||||||
|
|
||||||
destroy: function () {
|
|
||||||
},
|
|
||||||
|
|
||||||
getDefaultNames: function getDefaultNames(node) {
|
getDefaultNames: function getDefaultNames(node) {
|
||||||
let url = node.href || node.src || node.documentURI;
|
let url = node.href || node.src || node.documentURI;
|
||||||
let currExt = url.replace(/.*(?:\.([a-z0-9]+))?$/, "$1").toLowerCase();
|
let currExt = url.replace(/.*(?:\.([a-z0-9]+))?$/, "$1").toLowerCase();
|
||||||
|
|||||||
Reference in New Issue
Block a user