mirror of https://github.com/gorhill/uBlock.git
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