1
0
Fork 0

Compare commits

..

No commits in common. "1f2104e8e270ecd896ec7740fbe919fa5157c0f8" and "a7f747e1576c8c10b9d1ec7dc9ba2022db64347b" have entirely different histories.

16 changed files with 0 additions and 20 deletions

0
.gitignore vendored Normal file → Executable file
View File

0
README.md Normal file → Executable file
View File

1
app.js Normal file → Executable file
View File

@ -10,7 +10,6 @@ handle["/interface"] = requestHandlers.sendInterface;
handle["/js/jquery-1.12.1.min"] = requestHandlers.sendJquery;
handle["/js/jquery-ui.js"] = requestHandlers.sendJqueryUI;
handle["/css/bootstrap.min.css"] = requestHandlers.sendBootstrap;
handle["/sprite/emoji.ttf"] = requestHandlers.sendEmojiTtf;
handle["/clear"] = requestHandlers.sendClear;
if(server.demoMode()){

11
board.html Normal file → Executable file
View File

@ -13,17 +13,10 @@
<style>
/* Sticky footer styles
-------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Noto+Sans');
@font-face {
font-family: 'Emoji';
src: url('/sprite/emoji.ttf') format('truetype');
}
html,
body {
height: 100%;
font-family: 'Noto Sans', sans-serif;
/* The html and body elements cannot have any padding or margin. */
}
@ -44,10 +37,6 @@ body {
bottom: 0;
width: 100%;
}
h1 {
font-family: 'Emoji', 'Noto Sans', sans-serif;
}
</style>

0
clear.html Normal file → Executable file
View File

0
demo.html Normal file → Executable file
View File

0
package.json Normal file → Executable file
View File

View File

@ -47,17 +47,9 @@ function sendDemo(response) {
response.end(html);
}
function sendEmojiTtf(response) {
console.log("Request handler 'EmojiTtf' was called.");
response.writeHead(200, {"Content-Type": "font/ttf"});
var html = fs.readFileSync(__dirname + "/served/NotoColorEmoji.ttf")
response.end(html);
}
exports.sendClear = sendClear;
exports.sendDemo = sendDemo;
exports.sendEmojiTtf = sendEmojiTtf;
exports.sendBootstrap = sendBootstrap;
exports.sendJqueryUI = sendJqueryUI;

0
route.js Normal file → Executable file
View File

0
sample.config.json Normal file → Executable file
View File

Binary file not shown.

Binary file not shown.

0
served/bootstrap.min.css vendored Normal file → Executable file
View File

0
served/jquery-1.12.1.min.js vendored Normal file → Executable file
View File

0
served/jquery-ui.js vendored Normal file → Executable file
View File

0
server.js Normal file → Executable file
View File