[Pkg-javascript-commits] [libjs-mousetrap] 02/06: Imported Upstream version 1.5.3+dfsg2

Alexandre Viau aviau at moszumanska.debian.org
Fri Jan 8 16:19:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

aviau pushed a commit to branch master
in repository libjs-mousetrap.

commit 6f1e6a73d572502c288d84ba852d63aba879b4ab
Author: aviau <alexandre at alexandreviau.net>
Date:   Fri Jan 8 11:05:52 2016 -0500

    Imported Upstream version 1.5.3+dfsg2
---
 plugins/bind-dictionary/mousetrap-bind-dictionary.min.js | 1 -
 plugins/global-bind/mousetrap-global-bind.min.js         | 1 -
 plugins/pause/mousetrap-pause.min.js                     | 1 -
 plugins/record/mousetrap-record.min.js                   | 2 --
 4 files changed, 5 deletions(-)

diff --git a/plugins/bind-dictionary/mousetrap-bind-dictionary.min.js b/plugins/bind-dictionary/mousetrap-bind-dictionary.min.js
deleted file mode 100644
index bf9d8d0..0000000
--- a/plugins/bind-dictionary/mousetrap-bind-dictionary.min.js
+++ /dev/null
@@ -1 +0,0 @@
-(function(b){var c=b.prototype.bind,a;b.prototype.bind=function(){a=arguments;if("string"==typeof a[0]||a[0]instanceof Array)return c.call(this,a[0],a[1],a[2]);for(var b in a[0])a[0].hasOwnProperty(b)&&c.call(this,b,a[0][b],a[1])};b.init()})(Mousetrap);
diff --git a/plugins/global-bind/mousetrap-global-bind.min.js b/plugins/global-bind/mousetrap-global-bind.min.js
deleted file mode 100644
index 073ce67..0000000
--- a/plugins/global-bind/mousetrap-global-bind.min.js
+++ /dev/null
@@ -1 +0,0 @@
-(function(a){var c={},d=a.prototype.stopCallback;a.prototype.stopCallback=function(e,b,a,f){return this.paused?!0:c[a]||c[f]?!1:d.call(this,e,b,a)};a.prototype.bindGlobal=function(a,b,d){this.bind(a,b,d);if(a instanceof Array)for(b=0;b<a.length;b++)c[a[b]]=!0;else c[a]=!0};a.init()})(Mousetrap);
diff --git a/plugins/pause/mousetrap-pause.min.js b/plugins/pause/mousetrap-pause.min.js
deleted file mode 100644
index d3df296..0000000
--- a/plugins/pause/mousetrap-pause.min.js
+++ /dev/null
@@ -1 +0,0 @@
-(function(a){var b=a.prototype.stopCallback;a.prototype.stopCallback=function(a,c,d){return this.paused?!0:b.call(this,a,c,d)};a.prototype.pause=function(){this.paused=!0};a.prototype.unpause=function(){this.paused=!1};a.init()})(Mousetrap);
diff --git a/plugins/record/mousetrap-record.min.js b/plugins/record/mousetrap-record.min.js
deleted file mode 100644
index 25f3e71..0000000
--- a/plugins/record/mousetrap-record.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(function(d){function n(b,a,h){if(this.recording)if("keydown"==h.type){1===b.length&&g&&k();for(i=0;i<a.length;++i)l(a[i]);l(b)}else"keyup"==h.type&&0<c.length&&k();else p.apply(this,arguments)}function l(b){var a;for(a=0;a<c.length;++a)if(c[a]===b)return;c.push(b);1===b.length&&(g=!0)}function k(){e.push(c);c=[];g=!1;clearTimeout(m);m=setTimeout(q,1E3)}function r(b){var a;for(a=0;a<b.length;++a)b[a].sort(function(a,b){return 1<a.length&&1===b.length?-1:1===a.length&&1<b.length?1:a>b?1:- [...]
-b[a].join("+")}function q(){f&&(r(e),f(e));e=[];f=null;c=[]}var e=[],f=null,c=[],g=!1,m=null,p=d.prototype.handleKey;d.prototype.record=function(b){var a=this;a.recording=!0;f=function(){a.recording=!1;b.apply(a,arguments)}};d.prototype.handleKey=function(){n.apply(this,arguments)};d.init()})(Mousetrap);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/libjs-mousetrap.git



More information about the Pkg-javascript-commits mailing list