aboutsummaryrefslogtreecommitdiffstats
path: root/happy_hacking_vimperator.js
diff options
context:
space:
mode:
authoranekos2008-12-08 11:41:13 +0000
committeranekos2008-12-08 11:41:13 +0000
commit67f133def113c44f0106e961883d10d47723959d (patch)
tree6fdc75a24c06d8ac11fd575f485d3a375f11947e /happy_hacking_vimperator.js
parenta2185fe64e8d0daf217f37c9c4142ebe7e619204 (diff)
downloadvimperator-plugins-67f133def113c44f0106e961883d10d47723959d.tar.bz2
ooops
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@26122 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'happy_hacking_vimperator.js')
-rw-r--r--happy_hacking_vimperator.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/happy_hacking_vimperator.js b/happy_hacking_vimperator.js
index 52e09cf..6efeda9 100644
--- a/happy_hacking_vimperator.js
+++ b/happy_hacking_vimperator.js
@@ -146,8 +146,15 @@ http://creativecommons.org/licenses/by-sa/3.0/
}
}
+ if (liberator.plugins.happy_hacking_vimperator) {
+ meows.forEach(fuck);
+ return;
+ } else {
+ liberator.plugins.happy_hacking_vimperator = 'Happy Hacking!';
+ }
+
let (opt = options.get('go'))
- opt.set(opt.get().replace(/rlb/g, ''));
+ opt.set(opt.get().replace(/[rlb]/g, ''));
around(buffer, 'followLink', function (next) {
ignore = true;