diff --git a/js/impress.js b/js/impress.js index 212b640..79ed495 100644 --- a/js/impress.js +++ b/js/impress.js @@ -388,7 +388,7 @@ // `duration` optionally given as second parameter, is the transition duration in css. // `reason` is the string "next", "prev" or "goto" (default) and will be made available to // preStepLeave plugins. - // `origEvent` may contain event that caused the calll to goto, such as a key press event + // `origEvent` may contain event that caused the call to goto, such as a key press event var goto = function( el, duration, reason, origEvent ) { reason = reason || "goto"; origEvent = origEvent || null; diff --git a/src/impress.js b/src/impress.js index 1901b17..b91034c 100644 --- a/src/impress.js +++ b/src/impress.js @@ -388,7 +388,7 @@ // `duration` optionally given as second parameter, is the transition duration in css. // `reason` is the string "next", "prev" or "goto" (default) and will be made available to // preStepLeave plugins. - // `origEvent` may contain event that caused the calll to goto, such as a key press event + // `origEvent` may contain event that caused the call to goto, such as a key press event var goto = function( el, duration, reason, origEvent ) { reason = reason || "goto"; origEvent = origEvent || null; diff --git a/src/plugins/goto/README.md b/src/plugins/goto/README.md index 4800ba6..1bd99f5 100644 --- a/src/plugins/goto/README.md +++ b/src/plugins/goto/README.md @@ -16,7 +16,10 @@ Example:
-Author +See https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values for a table +of what strings to use for each key. + + Author ------ Copyright 2016 Henrik Ingo (@henrikingo) diff --git a/src/plugins/goto/goto.js b/src/plugins/goto/goto.js index 21ec9f9..cfac544 100644 --- a/src/plugins/goto/goto.js +++ b/src/plugins/goto/goto.js @@ -20,6 +20,9 @@ * data-goto-key-list="ArrowUp ArrowDown ArrowRight ArrowLeft" * data-goto-next-list="step-4 step-3 step-2 step-5"> * + * See https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values for a table + * of what strings to use for each key. + * * Copyright 2016-2017 Henrik Ingo (@henrikingo) * Released under the MIT license. */