mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
Use arrow function
This commit is contained in:
parent
9a104bcbd2
commit
4234faafc4
@ -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 New Issue
Block a user