Skip to content

Instantly share code, notes, and snippets.

@ryanstevens
ryanstevens / gist:1338955
Created November 4, 2011 08:59
Testling runtime test eror (error in my test file)
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Object function (name, cb) {
if (typeof name === 'function') {
cb = name;
name = undefined;
}
var t = new Test(name, test.push);
@ryanstevens
ryanstevens / Example.html
Created May 18, 2011 21:34 — forked from 140bytes/LICENSE.txt
Countdown Timer
<!--.
This example will start at 5 seconds and countdown to 0 (ish). It will update the div "about" every 1/2 second.
-->
<div id='test></div>
<script type='text/javascript'>
(function(o, i, f){
var g='getTime',
z=o=o+new Date()[g](),
b = function(){