X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=dot-files%2F_vimperator%2Fplugin%2Fbitly_js;h=5b654ed011e90c5384f891ae6eb7fc173729e42d;hb=a807b4609220d6a60673008b962d2456d4ccebb7;hp=5d4af2dbddd17f285ec77994b3b9e9d23bfec708;hpb=64d8d84fc0220ed2081380d870ed4713b89e4803;p=sugar.git diff --git a/dot-files/_vimperator/plugin/bitly_js b/dot-files/_vimperator/plugin/bitly_js index 5d4af2d..5b654ed 100644 --- a/dot-files/_vimperator/plugin/bitly_js +++ b/dot-files/_vimperator/plugin/bitly_js @@ -90,7 +90,10 @@ let PLUGIN_INFO = xml` callback(); }, { - default: let (e = content.document.querySelector('#bitly_api_key')) (e ? e.value : '') + default: (function () { + let e = content.document.querySelector('#bitly_api_key'); + return e ? e.value : '' + })() } ); }