aboutsummaryrefslogtreecommitdiff
path: root/content/externalLicenseChecker.js
diff options
context:
space:
mode:
Diffstat (limited to 'content/externalLicenseChecker.js')
-rw-r--r--content/externalLicenseChecker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/externalLicenseChecker.js b/content/externalLicenseChecker.js
index 516057e..982ce04 100644
--- a/content/externalLicenseChecker.js
+++ b/content/externalLicenseChecker.js
@@ -42,7 +42,7 @@
}
let link = a => ({ url: a.href, label: a.textContent });
let firstLink = parent => link(parent.querySelector("a"));
- let allLinks = parent => Array.map(parent.querySelectorAll("a"), link);
+ let allLinks = parent => Array.prototype.map.call(parent.querySelectorAll("a"), link);
for (let row of doc.querySelectorAll("table#jslicense-labels1 > tbody > tr")) {
try {
let cols = row.querySelectorAll("td");