Merge pull request #303 from DrBenton/master

Small additions around "togglePause()"
This commit is contained in:
Hakim El Hattab 2013-01-18 12:33:28 -08:00
commit 305e70d99b

View file

@ -1398,8 +1398,8 @@ var Reveal = (function(){
case 32: isOverviewActive() ? deactivateOverview() : navigateNext(); break;
// return
case 13: isOverviewActive() ? deactivateOverview() : triggered = false; break;
// b, period
case 66: case 190: togglePause(); break;
// b, period, Logitech presenter tools "black screen" button
case 66: case 190: case 191: togglePause(); break;
// f
case 70: enterFullscreen(); break;
default:
@ -1627,6 +1627,9 @@ var Reveal = (function(){
// Toggles the overview mode on/off
toggleOverview: toggleOverview,
// Toggles the "black screen" mode on/off
togglePause: togglePause,
// Adds or removes all internal event listeners (such as keyboard)
addEventListeners: addEventListeners,
removeEventListeners: removeEventListeners,