View debounce.js
// no leading call, only trailing
function debounce(callback, timeout, _time) {
timeout = timeout || 100;
return function debounce() {
window.clearTimeout(_time);
_time = window.setTimeout(callback, timeout);
}
}
View index.js
function on_resize(namespace, callback, t) {
$(window).on('resize.' + namespace, function () {
clearTimeout(t);
t = setTimeout(callback, 100);
});
return callback;
}
View fast-bind.js
+function(proto, Object) {
'use strict'
var originalBind = proto.bind
Object.defineProperty(proto, 'bind', {
value: function bind(context) {
var callback = this
return arguments.length === 1 ? function () { return callback.apply(context, arguments) } : originalBind.apply(callback, arguments)
}
})
}(Function.prototype, Object)
View dabblet.css
@keyframes parade{
0% {
}
50% {
left: -100px;
transform: rotate(-50deg);
}
75% {
}
100% {
View dabblet.css
#torwart {
position: relative;
top: -20.5em;
left: 13.5em;
}
#torwart > img {
height: 14em;
}
View dabblet.css
.clock{
/* The .clock div. Created dynamically by jQuery */
background-color:#252525;
height:200px;
width:200px;
position:relative;
overflow:hidden;
float:left;
}
View dabblet.css
@import url('http://twitter.github.com/bootstrap/1.4.0/bootstrap.min.css');
@import url('http://fonts.googleapis.com/css?family=Handlee');
body {
background: url('img/noise.png');
}
#usermenu {
position: absolute;
right: 0;
left: auto !important;