Skip to content

Instantly share code, notes, and snippets.

Shakiba Moshiri k-five

Block or report user

Report or block k-five

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@k-five
k-five / chat-frontend.js
Created Jul 3, 2018 — forked from martinsik/chat-frontend.js
Node.js chat frontend and server
View chat-frontend.js
$(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;
You can’t perform that action at this time.