mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Use arrow function
This commit is contained in:
parent
9a104bcbd2
commit
4234faafc4
1 changed files with 1 additions and 5 deletions
|
|
@ -29,11 +29,7 @@ const i18n =
|
|||
? self.browser.i18n
|
||||
: self.chrome.i18n;
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
function i18n$(...args) {
|
||||
return i18n.getMessage(...args);
|
||||
}
|
||||
const i18n$ = (...args) => i18n.getMessage(...args);
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue