Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript" src="Eventful.js"></script>
<script type="text/javascript" src="Mustache.js"></script>
</head>
<body>
<div style="float: left; margin-right: 30px;">
<h2>Object Definition</h2>
<pre> var Person = function (name) {
var Tween = (function () {
var animations = {}, nanim = 0;
var Tween = {};
Tween.step = function () {
var d = new Date();
var thisTick = d.getTime();