aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2019-04-01 14:29:26 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2019-04-01 14:29:26 +0200
commiteb5d79370b5dddd73c99d83ac419e66a64685555 (patch)
tree596b814780c998cd47817b2bf44f7585598f8867
parent2734aa3da01cf5872176b1c6f1bfdc9815cdf500 (diff)
downloadperl-software-in-gnu-guix-eb5d79370b5dddd73c99d83ac419e66a64685555.tar
perl-software-in-gnu-guix-eb5d79370b5dddd73c99d83ac419e66a64685555.tar.gz
fix typos
-rw-r--r--js/reveal.js4
-rw-r--r--plugin/highlight/highlight.js5
2 files changed, 5 insertions, 4 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 7902546..3c00d52 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -6003,7 +6003,7 @@
}
},
- // Adds/remvoes a custom key binding
+ // Adds/removes a custom key binding
addKeyBinding: addKeyBinding,
removeKeyBinding: removeKeyBinding,
@@ -6012,7 +6012,7 @@
hasPlugin: hasPlugin,
getPlugin: getPlugin,
- // Programatically triggers a keyboard event
+ // Programmatically triggers a keyboard event
triggerKey: function( keyCode ) {
onDocumentKeyDown( { keyCode: keyCode } );
},
diff --git a/plugin/highlight/highlight.js b/plugin/highlight/highlight.js
index b3599e8..83305e1 100644
--- a/plugin/highlight/highlight.js
+++ b/plugin/highlight/highlight.js
@@ -101,7 +101,8 @@ c:[{cN:"comment",b:/\(\*/,e:/\*\)/},e.ASM,e.QSM,e.CNM,{b:/\{/,e:/\}/,i:/:/}]}});
/**
* Highlights a code block. If the <code> node has the
- * 'line-numbers' class we also generate slide numbers.
+ * 'data-line-numbers' attribute we also generate slide
+ * numbers.
*/
highlightBlock: function( block ) {
@@ -119,7 +120,7 @@ c:[{cN:"comment",b:/\(\*/,e:/\*\)/},e.ASM,e.QSM,e.CNM,{b:/\{/,e:/\}/,i:/:/}]}});
/**
* Visually emphasize specific lines within a code block.
- * This onnly works on blocks with line numbering turned on.
+ * This only works on blocks with line numbering turned on.
*
* @param {HTMLElement} block a <code> block
* @param {String} [linesToHighlight] The lines that should be