You should receive results similar to the error.log file.
http://github.com/joshkehn/Node-Issue
Thanks,
-Josh
____________________________________
Joshua Kehn | Josh...@gmail.com
http://joshuakehn.com
> --
> You received this message because you are subscribed to the Google Groups "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com.
> To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.
>
Essentially I created a generic "Obj" class which extends EventEmitter, then I rewrote the load function as follows:
function getObj(id)
{
var o = require("./lib/obj/obj"+id+".js");
return new o();
}
Regards,
-Josh
____________________________________
Joshua Kehn | Josh...@gmail.com
http://joshuakehn.com
On Sep 9, 2010, at 12:13 PM, mscdex wrote: