mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-20 13:03:56 +02:00
Fix "invalid token" exception in Safari
Seems like in older versions the const keyword doesn't play well with the "use strict" directive
This commit is contained in:
parent
1a83d1a753
commit
775f51a04b
1 changed files with 3 additions and 1 deletions
|
@ -21,7 +21,9 @@
|
||||||
|
|
||||||
/* jshint bitwise: false */
|
/* jshint bitwise: false */
|
||||||
/* global µBlock */
|
/* global µBlock */
|
||||||
'use strict';
|
|
||||||
|
// Older Safari throws an exception for const when it's used with 'use strict'.
|
||||||
|
// 'use strict';
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue