aboutsummaryrefslogtreecommitdiffstats
path: root/addhatebu.js
diff options
context:
space:
mode:
authormitsugu oyama2012-03-24 10:09:03 +0900
committermitsugu oyama2012-03-24 10:09:03 +0900
commitb99454a4bc4779d3389fa0d66094f5aa59f3e448 (patch)
tree3ef5338c145ec21beaa3358e15c7db74c18bcf59 /addhatebu.js
parent2d2d65ae68bfb8057dbe4aa7f27ffb422221bd8f (diff)
downloadvimperator-plugins-b99454a4bc4779d3389fa0d66094f5aa59f3e448.tar.bz2
Add to delete contents's object
Diffstat (limited to 'addhatebu.js')
-rw-r--r--addhatebu.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/addhatebu.js b/addhatebu.js
index 7fff76e..93a6ef0 100644
--- a/addhatebu.js
+++ b/addhatebu.js
@@ -35,8 +35,10 @@ commands.addUserCommand(
contents.location.reload();
}else{
liberator.echoerr('Invalid Parameter');
+ delete contents;
return false;
}
+ delete contents;
},{
completer : function(context, args){
context.completions=[