From 3a09e4dd09a6af3b228fcda68aa0709626b5ee51 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 23 May 2015 16:21:38 -0400 Subject: Set up Bower. Install Mousetrap. * Create limited bower.json file * Create .bowerrc that tells Bower to use the `lib` directory * Install Mousetrap for key events --- lib/mousetrap/plugins/global-bind/mousetrap-global-bind.min.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 lib/mousetrap/plugins/global-bind/mousetrap-global-bind.min.js (limited to 'lib/mousetrap/plugins/global-bind/mousetrap-global-bind.min.js') diff --git a/lib/mousetrap/plugins/global-bind/mousetrap-global-bind.min.js b/lib/mousetrap/plugins/global-bind/mousetrap-global-bind.min.js new file mode 100644 index 0000000..073ce67 --- /dev/null +++ b/lib/mousetrap/plugins/global-bind/mousetrap-global-bind.min.js @@ -0,0 +1 @@ +(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