1
0
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:
Raymond Hill 2024-01-04 11:01:51 -05:00
parent 9a104bcbd2
commit 4234faafc4
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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);
/******************************************************************************/