From fb5d7e43592c1a14831067e28def9c4b9e2a97ca Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Mon, 10 Oct 2016 21:14:28 +0800 Subject: Update npm and bower dependencies with related patch --- public/js/index.js | 2 -- public/views/foot.ejs | 8 ++++---- public/views/html.hbs | 4 ++-- public/views/index.ejs | 6 +++--- public/views/pretty.ejs | 4 ++-- public/views/slide.ejs | 6 +++--- 6 files changed, 14 insertions(+), 16 deletions(-) (limited to 'public') diff --git a/public/js/index.js b/public/js/index.js index 6b7efa68..eb89d9f8 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -2262,8 +2262,6 @@ socket.on('connect', function (data) { personalInfo['id'] = socket.id; showStatus(statusType.connected); socket.emit('version'); - if (socket.id.indexOf('/') == -1) - socket.id = socket.nsp + '#' + socket.id; }); socket.on('version', function (data) { if (version != data.version) { diff --git a/public/views/foot.ejs b/public/views/foot.ejs index 0397317d..80c08f63 100644 --- a/public/views/foot.ejs +++ b/public/views/foot.ejs @@ -3,14 +3,14 @@ <% if(useCDN) { %> - - + + - + - + <% } else { %> diff --git a/public/views/html.hbs b/public/views/html.hbs index 7213ff9f..3f25e5d7 100644 --- a/public/views/html.hbs +++ b/public/views/html.hbs @@ -19,7 +19,7 @@ - + @@ -47,7 +47,7 @@ - + - + + - + <% } else { %> diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index cc6fb332..79652012 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -92,11 +92,11 @@ MathJax.Hub.Config({ messageStyle: "none", skipStartupTypeset: true ,tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], processEscapes: true }}); <% if(useCDN) { %> - + - + <% } else { %> diff --git a/public/views/slide.ejs b/public/views/slide.ejs index fb3734bc..443e1468 100644 --- a/public/views/slide.ejs +++ b/public/views/slide.ejs @@ -87,11 +87,11 @@ MathJax.Hub.Config({ messageStyle: "none", skipStartupTypeset: true ,tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], processEscapes: true }}); <% if(useCDN) { %> - - + + - + <% } else { %> -- cgit v1.2.3