Fix leftover arguments from converted grunt functions.

This commit is contained in:
ccd0 2016-04-12 23:50:28 -07:00
parent e8a86d893e
commit 2ab00be0b5
2 changed files with 2 additions and 2 deletions

View File

@ -1824,7 +1824,7 @@ a:only-of-type > .remove {
<%=
ls('src/Linkification/icons').map(function(file) {
var key = file.match(/(\w+)\.png/)[1];
var data = readBase64(`src/Linkification/icons/${file}`, {encoding: 'base64'});
var data = readBase64(`src/Linkification/icons/${file}`);
return ".linkify."+key+" {\n" +
" background: transparent url('data:image/png;base64,"+data+"') center left no-repeat!important;\n" +
" padding-left: 18px;\n" +

View File

@ -42,5 +42,5 @@
// @run-at document-start
// @updateURL <%= (channel !== '-noupdate') ? `${meta.downloads}${name}${channel}.meta.js` : 'https://noupdate.invalid/' %>
// @downloadURL <%= (channel !== '-noupdate') ? `${meta.downloads}${name}${channel}.user.js` : 'https://noupdate.invalid/' %>
// @icon data:image/png;base64,<%= readBase64('src/meta/icon48.png', {encoding: 'base64'}) %>
// @icon data:image/png;base64,<%= readBase64('src/meta/icon48.png') %>
// ==/UserScript==