Closed ecowden closed 7 years ago
Back when I originally made this, I was targeting browsers and Node.js v0.8.x. (Also, it's about the first thing I ever wrote in JavaScript.) Dynamically invoking constructor functions was black magic, so I relied on a big ol' switch statement.
Nowadays, this should be easier to work around.
Fixed on one-oh-redesign branch.
one-oh-redesign
Back when I originally made this, I was targeting browsers and Node.js v0.8.x. (Also, it's about the first thing I ever wrote in JavaScript.) Dynamically invoking constructor functions was black magic, so I relied on a big ol' switch statement.
Nowadays, this should be easier to work around.