autoformat more easy files
This commit is contained in:
parent
67fa250020
commit
3855a774ab
19 changed files with 1068 additions and 1076 deletions
|
@ -1,13 +1,13 @@
|
|||
const url = require('url');
|
||||
const chrome = window.chrome = window.chrome || {};
|
||||
const url = require('url')
|
||||
const chrome = window.chrome = window.chrome || {}
|
||||
|
||||
chrome.extension = {
|
||||
getURL: function(path) {
|
||||
getURL: function (path) {
|
||||
return url.format({
|
||||
protocol: location.protocol,
|
||||
slashes: true,
|
||||
hostname: location.hostname,
|
||||
pathname: path
|
||||
});
|
||||
})
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue