mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-07-31 03:40:28 +02:00
[DATALAD RUNCMD] run codespell throughout fixing typos automagically
=== Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
// Exposes theme's variables for easy re-use in CSS for plugin authors
|
// Exposes theme's variables for easy reuse in CSS for plugin authors
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--r-background-color: #{$backgroundColor};
|
--r-background-color: #{$backgroundColor};
|
||||||
|
@@ -74,7 +74,7 @@ export default class JumpToSlide {
|
|||||||
let query = this.jumpInput.value.trim( '' );
|
let query = this.jumpInput.value.trim( '' );
|
||||||
let indices;
|
let indices;
|
||||||
|
|
||||||
// When slide numbers are formatted to be a single linear mumber
|
// When slide numbers are formatted to be a single linear number
|
||||||
// (instead of showing a separate horizontal/vertical index) we
|
// (instead of showing a separate horizontal/vertical index) we
|
||||||
// use the same format for slide jumps
|
// use the same format for slide jumps
|
||||||
if( /^\d+$/.test( query ) ) {
|
if( /^\d+$/.test( query ) ) {
|
||||||
|
@@ -1252,7 +1252,7 @@ export default function( revealElement, options ) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if we're currently on the last slide in
|
* Returns true if we're currently on the last slide in
|
||||||
* the presenation. If the last slide is a stack, we only
|
* the presentation. If the last slide is a stack, we only
|
||||||
* consider this the last slide if it's at the end of the
|
* consider this the last slide if it's at the end of the
|
||||||
* stack.
|
* stack.
|
||||||
*/
|
*/
|
||||||
|
@@ -52,7 +52,7 @@ const Plugin = {
|
|||||||
block.innerHTML = betterTrim( block );
|
block.innerHTML = betterTrim( block );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Escape HTML tags unless the "data-noescape" attrbute is present
|
// Escape HTML tags unless the "data-noescape" attribute is present
|
||||||
if( config.escapeHTML && !block.hasAttribute( 'data-noescape' )) {
|
if( config.escapeHTML && !block.hasAttribute( 'data-noescape' )) {
|
||||||
block.innerHTML = block.innerHTML.replace( /</g,"<").replace(/>/g, '>' );
|
block.innerHTML = block.innerHTML.replace( /</g,"<").replace(/>/g, '>' );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user