diff --git a/dist/bespoke-keys.js b/dist/bespoke-keys.js index dfd1bdf..087c4c3 100644 --- a/dist/bespoke-keys.js +++ b/dist/bespoke-keys.js @@ -1,5 +1,5 @@ /*! - * bespoke-keys v1.0.0 + * bespoke-keys v1.1.0 * * Copyright 2015, Mark Dalgleish * This content is released under the MIT license @@ -17,8 +17,7 @@ module.exports = function(options) { (isHorizontal && e.which == 39) || // RIGHT (!isHorizontal && e.which == 40) // DOWN ) { deck.next(); } - - if (e.which == 33 || // PAGE UP + else if (e.which == 33 || // PAGE UP (e.which == 32 && e.shiftKey) || // SPACE + SHIFT (isHorizontal && e.which == 37) || // LEFT (!isHorizontal && e.which == 38) // UP diff --git a/dist/bespoke-keys.min.js b/dist/bespoke-keys.min.js index 6b8ae6e..aa7a0da 100644 --- a/dist/bespoke-keys.min.js +++ b/dist/bespoke-keys.min.js @@ -1,2 +1,2 @@ -/*! bespoke-keys v1.0.0 © 2015 Mark Dalgleish, MIT License */ -!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;"undefined"!=typeof window?n=window:"undefined"!=typeof global?n=global:"undefined"!=typeof self&&(n=self);var i=n;i=i.bespoke||(i.bespoke={}),i=i.plugins||(i.plugins={}),i.keys=e()}}(function(){return function e(n,i,t){function r(f,u){if(!i[f]){if(!n[f]){var c="function"==typeof require&&require;if(!u&&c)return c(f,!0);if(o)return o(f,!0);throw new Error("Cannot find module '"+f+"'")}var d=i[f]={exports:{}};n[f][0].call(d.exports,function(e){var i=n[f][1][e];return r(i?i:e)},d,d.exports,e,n,i,t)}return i[f].exports}for(var o="function"==typeof require&&require,f=0;f