added slide announcing markdown support (#15)

This commit is contained in:
Hakim El Hattab
2012-07-31 01:35:16 -04:00
parent 19852772fe
commit 696346dccb
3 changed files with 53 additions and 31 deletions

View File

@ -1,5 +1,5 @@
/*!
* reveal.js 1.5 r4
* reveal.js 1.5 r6
* http://lab.hakim.se/reveal-js
* MIT licensed
*
@ -1015,6 +1015,17 @@ var Reveal = (function(){
return currentSlide
},
// Helper method, retrieves query string as a key/value hash
getQueryHash: function() {
var query = {};
location.search.replace( /[A-Z0-9]+?=(\w*)/gi, function(a) {
query[ a.split( '=' ).shift() ] = a.split( '=' ).pop();
} );
return query;
},
// Forward event binding to the reveal DOM element
addEventListener: function( type, listener, useCapture ) {
( dom.wrapper || document.querySelector( '.reveal' ) ).addEventListener( type, listener, useCapture );