diff options
author | Wu Cheng-Han | 2015-11-29 01:04:20 -0600 |
---|---|---|
committer | Wu Cheng-Han | 2015-11-29 01:04:20 -0600 |
commit | b070de8fa931d1b3b3f87d0c4afce55675f3cb93 (patch) | |
tree | 6453ee6a5a1cfad534660b38db9ebbc6c5faa9b6 /templates/reveal.html | |
parent | baed9eb33d1ae6da5d04a11ae8df6bc6293f04b6 (diff) |
Updated and merge reveal.js to use bower
Diffstat (limited to 'templates/reveal.html')
-rw-r--r-- | templates/reveal.html | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/templates/reveal.html b/templates/reveal.html deleted file mode 100644 index 601ae524..00000000 --- a/templates/reveal.html +++ /dev/null @@ -1,68 +0,0 @@ -<!doctype html> -<html lang="en"> - <head> - <meta charset="utf-8"> - <title>Reveal.js</title> - <link rel="stylesheet" href="/css/reveal.css"> - <link rel="stylesheet" href="/{{{theme}}}" id="theme"> - <!-- For syntax highlighting --> - <link rel="stylesheet" href="/lib/css/{{{highlightTheme}}}.css"> - - <!-- If the query includes 'print-pdf', use the PDF print sheet --> - <script> - document.write( '<link rel="stylesheet" href="/css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' ); - </script> - <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> - </head> - <body> - - <div class="reveal"> - <div class="slides">{{{slides}}}</div> - </div> - - <script src="/lib/js/head.min.js"></script> - <script src="/js/reveal.js"></script> - - <script> - function extend() { - var target = {}; - for (var i = 0; i < arguments.length; i++) { - var source = arguments[i]; - for (var key in source) { - if (source.hasOwnProperty(key)) { - target[key] = source[key]; - } - } - } - return target; - } - - // Optional libraries used to extend on reveal.js - var deps = [ - { src: '/lib/js/classList.js', condition: function() { return !document.body.classList; } }, - { src: '/plugin/markdown/marked.js', condition: function() { return !!document.querySelector('[data-markdown]'); } }, - { src: '/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector('[data-markdown]'); } }, - { src: '/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } }, - { src: '/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }, - { src: '/plugin/math/math.js', async: true } - ]; - - // default options to init reveal.js - var defaultOptions = { - controls: true, - progress: true, - history: true, - center: true, - transition: 'default', - dependencies: deps - }; - - // options from URL query string - var queryOptions = Reveal.getQueryHash() || {}; - - var options = {{{options}}}; - options = extend(defaultOptions, options, queryOptions); - Reveal.initialize(options); - </script> - </body> -</html> |