#3 Naming convention on wrappers
Opened 2 years ago by polcak. Modified 2 years ago

https://pagure.io/JS-Shield/JS-Shield/issue/3

Should we want to change the naming convention of wrappers, WebIDL files in the Firefox source seem to be an option, see https://searchfox.org/mozilla-central/source/dom/webidl


Metadata Update from @polcak:
- Issue priority set to: Future (was: Normal)

2 years ago

There is no download all button on the page, this code helps:

let all = "";
Array.prototype.forEach.call(document.querySelectorAll(".folder-content .description a"), function (e) {
  if (e.href.endsWith(".webidl")) {
    all += " https://hg.mozilla.org/mozilla-central/raw-file/tip/dom/webidl" + e.href.substring(e.href.lastIndexOf("/"));
  }
});
console.log(all);
wget [paste string without "]

Login to comment on this ticket.

Metadata