Skip to content

Instantly share code, notes, and snippets.

View Martinix's full-sized avatar
💭
I may be slow to respond.

Martin Martinix

💭
I may be slow to respond.
View GitHub Profile
@Martinix
Martinix / chat-frontend.js
Created September 19, 2017 04:58 — forked from martinsik/chat-frontend.js
Node.js chat frontend and server
$(function () {
"use strict";
// for better performance - to avoid searching in DOM
var content = $('#content');
var input = $('#input');
var status = $('#status');
// my color assigned by the server
var myColor = false;
@import "core.css";
@import "theme.css";
@import "user-theme.css";
@import "small-breakpoint.css" (max-width: 40em);
@import "landscape.css" screen and (orientation: landscape);
@import "print.css" print;