updated markdown references in notes plugin
authorHakim El Hattab <hakim.elhattab@gmail.com>
Sun, 28 Oct 2012 22:48:52 +0000 (18:48 -0400)
committerHakim El Hattab <hakim.elhattab@gmail.com>
Sun, 28 Oct 2012 22:49:01 +0000 (18:49 -0400)
README.md
plugin/notes-server/notes.html
plugin/notes/notes.html

index a7527a553de320cecfd34040d3861125cfd1ab8c..06edf1acfe3d0359fb365373459392317c46e483 100644 (file)
--- a/README.md
+++ b/README.md
@@ -97,13 +97,13 @@ Reveal.js doesn't _rely_ on any third party scripts to work but a few optional l
 ```javascript
 Reveal.initialize({
        dependencies: [
-               // Syntax highlight for <code> elements
-               { src: 'lib/js/highlight.js', async: true, callback: function() { window.hljs.initHighlightingOnLoad(); } },
                // Cross-browser shim that fully implements classList - https://github.com/eligrey/classList.js/
-               { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } }
+               { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
                // Interpret Markdown in <section> elements
-               { src: 'lib/js/data-markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
-               { src: 'lib/js/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
+               { src: 'plugin/markdown/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
+               { src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
+               // Syntax highlight for <code> elements
+               { src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
                // Zoom in and out with Alt+click
                { src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
                // Speaker notes
index d71d7f802ef726fac9e00d918e1df680dd7f6e0b..053cb5e6738929138943dbd84402ed3f6995066c 100644 (file)
@@ -99,7 +99,7 @@
                <div id="notes"></div>
 
                <script src="/socket.io/socket.io.js"></script>
-                <script src="/lib/js/showdown.js"></script>
+               <script src="/plugin/markdown/showdown.js"></script>
 
                <script>
                var socketId = '{{socketId}}';
index 013a18b2a292571187503412df5b49baf5b1a852..c91ca7f7afe7e7546b00948f00fcd094fab4a190 100644 (file)
@@ -98,7 +98,7 @@
                </div>
                <div id="notes"></div>
 
-               <script src="../../lib/js/showdown.js"></script>
+               <script src="../../plugin/markdown/showdown.js"></script>
                <script>
                        window.addEventListener( 'load', function() {
 
                                                }
 
                                                // Update the note slides
+                                               console.log(currentSlide.contentWindow);
                                                currentSlide.contentWindow.Reveal.slide( data.indexh, data.indexv );
                                                nextSlide.contentWindow.Reveal.slide( data.nextindexh, data.nextindexv );