aboutsummaryrefslogtreecommitdiffstats
path: root/ldrize_cooperation.js
diff options
context:
space:
mode:
Diffstat (limited to 'ldrize_cooperation.js')
-rw-r--r--ldrize_cooperation.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/ldrize_cooperation.js b/ldrize_cooperation.js
index 7a361c8..6415885 100644
--- a/ldrize_cooperation.js
+++ b/ldrize_cooperation.js
@@ -1,6 +1,6 @@
// Vimperator plugin: 'Cooperation LDRize Mappings'
// Version: 0.25
-// Last Change: 09-Jun-2011. Jan 2008
+// Last Change: 2015/09/29 16:18:39. Jan 2008
// License: Creative Commons
// Maintainer: Trapezoid <trapezoid.g@gmail.com> - http://unsigned.g.hatena.ne.jp/Trapezoid
//
@@ -117,9 +117,10 @@ if (liberator.plugins.LDRizeCooperation == undefined) (function(){
var old = liberator.modules.mappings.getDefault(mode,key);
var oldAction = old.action;
old.description = desc;
- old.action = function()
- let (self = this,args = arguments)
- aroundFunc(function() oldAction.apply(self,args));
+ old.action = function(){
+ let self = this, args = arguments;
+ return aroundFunc(function() oldAction.apply(self,args));
+ };
}
var LDRizeCooperation = new Class();