node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Object function () {var err = new Error,data = [ ];Error.captureStackTrace(err, fn.callee);var lines = err.stack.split("\n");for (var i = 0; i < lines.length; i++) {if (lines[i].search(/.*Error|wrap|decorate|__profile__|Object..js|eval at profile|Module|Function|require.*/) === -1) {var file = lines[i].split('(');if (file.length > 1) {data = file[1].substring(0, file[1].length - 2).split(':');} else {file = lines[i].split('/');var index = file.length - 1;data = file[index].substring(0, file[index].length - 2).split(':');}break;}}modul.file = data[0];modul.line = data[1];var u = uuid(fn, modul),prof = {id: u.id,invokation: u.invokations,initialized: initd,observers: [ ],anonymous: u.anonymous,file: modul.file,line: modul.line },last = profiles.mostRecent();if (last && last.anonymous) {prof.owner = last.id + '.' + last.invokation;last.observers.push(u.uid);}profiles.add(prof);function decorate(af) {var a = [ ];for (var k = 0; k < af.length; k++)if (typeof af[k] === 'function') {if (!af[k].isWrappedWithProfiler()) {a.push(wrap(profile, 'OWNER:' + u.uid, af[k], modul));var afk = uuid(af[k], false, modul);prof.observers.push(afk.id + '.0');} else {a.push(af[k]);var afk = uuid(af[k].__wrapped, modul);prof.observers.push(afk.uid);}} else if (af[k] instanceof String && af[k].indexOf('OWNER:') === 0) {prof.owner = af[k].substring(6);} else {a.push(af[k]);}return a;}prof.rawArgs = arguments;prof.args = decorate(arguments);prof.start = time.now();prof.result = fn.apply(this, prof.args);prof.end = time.now();return prof.result;} has no method 'foo'
at Object.<anonymous> (/Users/maynardb/Documents/Code/Ardus/examples/_.js:11:3)
at Module._compile (module.js:432:26)
at Object.<anonymous> (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Array.0 (module.js:470:10)
at EventEmitter._tickCallback (node.js:192:40)