Fix globals incorrectly set to writable.

This commit is contained in:
ccd0 2016-04-20 03:04:45 -07:00
parent 0a05cac9fb
commit 2652ece83f

View File

@ -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('')
%><%=