diff options
author | YAA | 2015-10-18 10:57:08 +0900 |
---|---|---|
committer | YAA | 2015-10-18 11:10:42 +0900 |
commit | c980ce3ee2ee38b39a1920404cb77452071633eb (patch) | |
tree | 6fcae0827e572824581485458fa8480f856d2db6 /ldrize_cooperation.js | |
parent | 4c2f3545661e36588d28476c99d3081689eb10ad (diff) | |
download | vimperator-plugins-c980ce3ee2ee38b39a1920404cb77452071633eb.tar.bz2 |
Drop let expression for Firefox 41+
Diffstat (limited to 'ldrize_cooperation.js')
-rw-r--r-- | ldrize_cooperation.js | 9 |
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(); |