aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/multiplex/index.js1
-rw-r--r--plugin/notes-server/index.js1
-rw-r--r--plugin/notes-server/notes.html9
-rw-r--r--plugin/notes/notes.html7
4 files changed, 12 insertions, 6 deletions
diff --git a/plugin/multiplex/index.js b/plugin/multiplex/index.js
index 35df8e3..6f5d8b1 100644
--- a/plugin/multiplex/index.js
+++ b/plugin/multiplex/index.js
@@ -30,6 +30,7 @@ app.configure(function() {
});
app.get("/", function(req, res) {
+ res.writeHead(200, {'Content-Type': 'text/html'});
fs.createReadStream(opts.baseDir + '/index.html').pipe(res);
});
diff --git a/plugin/notes-server/index.js b/plugin/notes-server/index.js
index 8643f5d..5535c90 100644
--- a/plugin/notes-server/index.js
+++ b/plugin/notes-server/index.js
@@ -30,6 +30,7 @@ app.configure(function() {
});
app.get("/", function(req, res) {
+ res.writeHead(200, {'Content-Type': 'text/html'});
fs.createReadStream(opts.baseDir + '/index.html').pipe(res);
});
diff --git a/plugin/notes-server/notes.html b/plugin/notes-server/notes.html
index 551e400..25d1a62 100644
--- a/plugin/notes-server/notes.html
+++ b/plugin/notes-server/notes.html
@@ -3,6 +3,8 @@
<head>
<meta charset="utf-8">
+ <meta name="viewport" content="width=1150">
+
<title>reveal.js - Slide Notes</title>
<style>
@@ -14,6 +16,7 @@
font-size: 24px;
width: 640px;
margin-top: 5px;
+ clear: left;
}
#wrap-current-slide {
@@ -27,13 +30,13 @@
width: 1280px;
height: 1024px;
border: none;
-
+
-webkit-transform-origin: 0 0;
-moz-transform-origin: 0 0;
-ms-transform-origin: 0 0;
-o-transform-origin: 0 0;
transform-origin: 0 0;
-
+
-webkit-transform: scale(0.5);
-moz-transform: scale(0.5);
-ms-transform: scale(0.5);
@@ -53,7 +56,7 @@
width: 1280px;
height: 1024px;
border: none;
-
+
-webkit-transform-origin: 0 0;
-moz-transform-origin: 0 0;
-ms-transform-origin: 0 0;
diff --git a/plugin/notes/notes.html b/plugin/notes/notes.html
index 830045d..8af43fb 100644
--- a/plugin/notes/notes.html
+++ b/plugin/notes/notes.html
@@ -14,6 +14,7 @@
font-size: 24px;
width: 640px;
margin-top: 5px;
+ clear: left;
}
#wrap-current-slide {
@@ -212,9 +213,9 @@
now = new Date();
diff = now.getTime() - start.getTime();
- hours = parseInt( diff / ( 1000 * 60 * 60 ) );
- minutes = parseInt( ( diff / ( 1000 * 60 ) ) % 60 );
- seconds = parseInt( ( diff / 1000 ) % 60 );
+ hours = Math.floor( diff / ( 1000 * 60 * 60 ) );
+ minutes = Math.floor( ( diff / ( 1000 * 60 ) ) % 60 );
+ seconds = Math.floor( ( diff / 1000 ) % 60 );
clockEl.innerHTML = now.toLocaleTimeString();
hoursEl.innerHTML = zeroPadInteger( hours );