mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
11 lines
180 B
JavaScript
11 lines
180 B
JavaScript
extensions.registerAPI((extension, context) => {
|
|
return {
|
|
extension: {
|
|
getURL: function(url) {
|
|
return extension.baseURI.resolve(url);
|
|
},
|
|
},
|
|
};
|
|
});
|
|
|