mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-01-23 03:32:39 +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)));
|
|
});
|