Skip to content

Instantly share code, notes, and snippets.

View tkheyfets's full-sized avatar
🥴

Timur Kheyfets tkheyfets

🥴
View GitHub Profile
function toArray(args) {
return Array.prototype.slice.call(args);
}
function extend(Child, Parent) {
Child.prototype = Object.create(Parent.prototype);
Child.prototype.constructor = Child;
return Child;
}
var Message = function (text) {
this.text = text;
};
@tkheyfets
tkheyfets / googlemaps-like-pin.html
Last active March 23, 2016 17:51
GoogleMaps like Pin with only css and html http://output.jsbin.com/yanowi/1
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width" />
<title>Google Maps like Pin</title>
<link type="text/css" rel="stylesheet" href="pin.css" />
</head>
<body>