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, "-W083": true,
"-W093": true, "-W093": true,
"globals": { "globals": {
"MediaError": true, "MediaError": false,
"Set": true, "Set": false,
"GM_info": true, "GM_info": false,
"cloneInto": true, "cloneInto": false,
"unsafeWindow": true, "unsafeWindow": false,
"chrome": true<%= "chrome": false<%=
meta.grants.map(x => `,\n "${x}": true`).join('') meta.grants.map(x => `,\n "${x}": false`).join('')
%><%= %><%=
read('/tmp/declaration.js').match(/^var (.*);/)[1].split(', ').map(x => `,\n "${x}": true`).join('') read('/tmp/declaration.js').match(/^var (.*);/)[1].split(', ').map(x => `,\n "${x}": true`).join('')
%><%= %><%=