Fix globals incorrectly set to writable.
This commit is contained in:
parent
0a05cac9fb
commit
2652ece83f
@ -13,13 +13,13 @@
|
||||
"-W083": true,
|
||||
"-W093": true,
|
||||
"globals": {
|
||||
"MediaError": true,
|
||||
"Set": true,
|
||||
"GM_info": true,
|
||||
"cloneInto": true,
|
||||
"unsafeWindow": true,
|
||||
"chrome": true<%=
|
||||
meta.grants.map(x => `,\n "${x}": true`).join('')
|
||||
"MediaError": false,
|
||||
"Set": false,
|
||||
"GM_info": false,
|
||||
"cloneInto": false,
|
||||
"unsafeWindow": false,
|
||||
"chrome": false<%=
|
||||
meta.grants.map(x => `,\n "${x}": false`).join('')
|
||||
%><%=
|
||||
read('/tmp/declaration.js').match(/^var (.*);/)[1].split(', ').map(x => `,\n "${x}": true`).join('')
|
||||
%><%=
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user