aboutsummaryrefslogtreecommitdiffstats
path: root/bitly.js
diff options
context:
space:
mode:
authoranekos2015-09-30 23:35:37 +0900
committeranekos2015-09-30 23:35:37 +0900
commit827f6d6f54de9199f45d1f138d5725cb84131ab8 (patch)
tree203beb776c5de780d563bb2f6a120aa4f4ce84bb /bitly.js
parentde561f4b9cc35ff2cdcf63fdac2d243c0becd7eb (diff)
downloadvimperator-plugins-827f6d6f54de9199f45d1f138d5725cb84131ab8.tar.bz2
Unlets
Diffstat (limited to 'bitly.js')
-rw-r--r--bitly.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitly.js b/bitly.js
index 5d4af2d..ec57cc4 100644
--- a/bitly.js
+++ b/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 : '')
+ })()
}
);
}