summaryrefslogtreecommitdiff
path: root/assets/js/vendor/mousetrap-global-bind.min.js
blob: 636b25e08e2b1e75c65ac66f0981f48a4015bee1 (plain)
1
Mousetrap=function(a){var d={},e=a.stopCallback;a.stopCallback=function(b,c,a){return d[a]?!1:e(b,c,a)};a.bindGlobal=function(b,c,e){a.bind(b,c,e);if(b instanceof Array)for(c=0;c<b.length;c++)d[b[c]]=!0;else d[b]=!0};return a}(Mousetrap);