mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-10 11:54:40 +00:00
7 lines
230 B
JavaScript
7 lines
230 B
JavaScript
var { classes: Cc, interfaces: Ci, utils: Cu } = Components;
|
|
Cu.importGlobalProperties(["File"]);
|
|
|
|
addMessageListener("files.open", function (message) {
|
|
sendAsyncMessage("files.opened", message.map(path => new File(path)));
|
|
});
|