"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "plugin/markdown/plugin.js" between
reveal.js-4.1.1.tar.gz and reveal.js-4.1.2.tar.gz

About: reveal.js is a HTML presentation framework including nested slides, Markdown contents, PDF export, speaker notes and a JavaScript API.

plugin.js  (reveal.js-4.1.1):plugin.js  (reveal.js-4.1.2)
skipping to change at line 209 skipping to change at line 209
* Parses any current data-markdown slides, splits * Parses any current data-markdown slides, splits
* multi-slide markdown into separate sections and * multi-slide markdown into separate sections and
* handles loading of external markdown. * handles loading of external markdown.
*/ */
function processSlides( scope ) { function processSlides( scope ) {
return new Promise( function( resolve ) { return new Promise( function( resolve ) {
var externalPromises = []; var externalPromises = [];
[].slice.call( scope.querySelectorAll( '[data-markdown]:n ot([data-markdown-parsed])') ).forEach( function( section, i ) { [].slice.call( scope.querySelectorAll( 'section[data-mark down]:not([data-markdown-parsed])') ).forEach( function( section, i ) {
if( section.getAttribute( 'data-markdown' ).lengt h ) { if( section.getAttribute( 'data-markdown' ).lengt h ) {
externalPromises.push( loadExternalMarkdo wn( section ).then( externalPromises.push( loadExternalMarkdo wn( section ).then(
// Finished loading external file // Finished loading external file
function( xhr, url ) { function( xhr, url ) {
section.outerHTML = slidi fy( xhr.responseText, { section.outerHTML = slidi fy( xhr.responseText, {
separator: sectio n.getAttribute( 'data-separator' ), separator: sectio n.getAttribute( 'data-separator' ),
verticalSeparator : section.getAttribute( 'data-separator-vertical' ), verticalSeparator : section.getAttribute( 'data-separator-vertical' ),
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)