Browse Source

slidenotes becomes speakernotes to match wording in readme

Hakim El Hattab 14 năm trước cách đây
mục cha
commit
54f1fcf381

+ 2 - 2
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
 

+ 1 - 1
index.html

@@ -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>
 		

+ 0 - 0
plugin/slidenotes/client.js → plugin/speakernotes/client.js


+ 3 - 3
plugin/slidenotes/index.js → plugin/speakernotes/index.js

@@ -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" );

+ 0 - 0
plugin/slidenotes/notes.html → plugin/speakernotes/notes.html


PANIC: session(release): write data/sessions/e/2/e2397184a6e3138b: no space left on device

PANIC

session(release): write data/sessions/e/2/e2397184a6e3138b: no space left on device
/my/cache/.heroku/go/go-path/pkg/mod/github.com/go-macaron/session@v1.0.3/session.go:204 (0xb13e07)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/context.go:80 (0x967b75)
/my/cache/.heroku/go/go-path/pkg/mod/github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 (0x9512ee)
/my/cache/.heroku/go/go-path/pkg/mod/github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 (0x951205)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/context.go:124 (0x967cc4)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/context.go:114 (0x967bf6)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/recovery.go:161 (0x15baec4)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/logger.go:40 (0x96b257)
/my/cache/.heroku/go/go-path/pkg/mod/github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 (0x9512ee)
/my/cache/.heroku/go/go-path/pkg/mod/github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 (0x951205)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/context.go:124 (0x967cc4)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/router.go:187 (0x972959)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/router.go:304 (0x973a01)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/macaron.go:218 (0x96c572)
/my/cache/.heroku/go/go1.26.3/go/src/net/http/server.go:3311 (0x85a5cd)
/my/cache/.heroku/go/go1.26.3/go/src/net/http/server.go:2073 (0x837f6f)
/my/cache/.heroku/go/go1.26.3/go/src/runtime/asm_amd64.s:1771 (0x493380)