slidenotes becomes speakernotes to match wording in readme
authorHakim El Hattab <hakim.elhattab@gmail.com>
Tue, 10 Jul 2012 01:30:54 +0000 (21:30 -0400)
committerHakim El Hattab <hakim.elhattab@gmail.com>
Tue, 10 Jul 2012 01:30:54 +0000 (21:30 -0400)
README.md
index.html
plugin/speakernotes/client.js [moved from plugin/slidenotes/client.js with 100% similarity]
plugin/speakernotes/index.js [moved from plugin/slidenotes/index.js with 86% similarity]
plugin/speakernotes/notes.html [moved from plugin/slidenotes/notes.html with 100% similarity]

index fc30805e3049b9b393d7e90bb150c41f4f012c3a..89c11156560ef1364ae25647b04b64f27f2d8333 100644 (file)
--- a/README.md
+++ b/README.md
@@ -120,11 +120,11 @@ You'll also need to [install Node.js](http://nodejs.org/); then, install the ser
 
 Once Node.js and the dependencies are installed, run the following command from the root directory:
 
-               node plugin/slidenotes
+               node plugin/speakernotes
 
 By default, the slides will be served at [localhost:1947](http://localhost:1947).
 
-You can change the appearance of the speaker notes by editing the file at `plugin/slidenotes/notes.html`.      
+You can change the appearance of the speaker notes by editing the file at `plugin/speakernotes/notes.html`.    
 
 ### Known Issues
 
index 088cad04badfb8f0a9f82a3c76ba8878e5ef3e48..253197cba5b50124fb02b109e8371ae1d5dd83fd 100644 (file)
@@ -323,7 +323,7 @@ linkify( 'a' );
                        // If we're runnning the notes server we need to include some additional JS
                        // TODO Is there a better way to determine if we're running the notes server?
                        if( window.location.host === 'localhost:1947' ) {
-                               head.js( 'socket.io/socket.io.js', 'plugin/slidenotes/client.js' );
+                               head.js( 'socket.io/socket.io.js', 'plugin/speakernotes/client.js' );
                        }
                </script>
                
similarity index 86%
rename from plugin/slidenotes/index.js
rename to plugin/speakernotes/index.js
index 1be941e0498ec95455842a667198fc21ff59d8d9..e8c8023dd021e0271b3773ffc75cf059c40b62ee 100644 (file)
@@ -32,12 +32,12 @@ app.get("/", function(req, res) {
 
 app.get("/notes/:socketId", function(req, res) {
 
-       fs.readFile(opts.baseDir + 'plugin/slidenotes/notes.html', function(err, data) {
+       fs.readFile(opts.baseDir + 'plugin/speakernotes/notes.html', function(err, data) {
                res.send(Mustache.to_html(data.toString(), {
                        socketId : req.params.socketId
                }));
        });
-       // fs.createReadStream(opts.baseDir + 'slidenotes/notes.html').pipe(res);
+       // fs.createReadStream(opts.baseDir + 'speakernotes/notes.html').pipe(res);
 });
 
 // Actually listen
@@ -49,7 +49,7 @@ var brown = '\033[33m',
 
 var slidesLocation = "http://localhost" + ( opts.port ? ( ':' + opts.port ) : '' );
 
-console.log( brown + "reveal.js - Slide Notes" + reset );
+console.log( brown + "reveal.js - Speaker Notes" + reset );
 console.log( "1. Open the slides at " + green + slidesLocation + reset );
 console.log( "2. Click on the link your JS console to go to the notes page" );
 console.log( "3. Advance through your slides and your notes will advance automatically" );