Skip to content

Instantly share code, notes, and snippets.

View suhajdab's full-sized avatar

Balázs Suhajda suhajdab

View GitHub Profile

Veberöds historia

create
// buildings
  (church:Building {name:'Veberöds kyrka', founded: 1200, geolocation: '55.6347487,13.4897019'}),
@suhajdab
suhajdab / rAF.js
Created January 8, 2013 10:30 — forked from paulirish/rAF.js
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
// requestAnimationFrame polyfill by Erik Möller
// fixes from Paul Irish and Tino Zijdel
(function() {
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];
for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) {