Closed ghost closed 13 years ago
Nice work — but this isn't really the same system anymore. You've nearly doubled the size and it's not backward compatible. I think you'd be better off releasing this as your own work and name it something else.
@ded No worries. I'll close issue #4, since this is the change that I suggested in it. Thanks for looking into this!
don't get the wrong impression tho — i would really encourage you to release it as your own and totes m'gotes.
Sure, I completely understand! I had a feeling that this might have been too removed from your original intentions for klass
, but I wanted to see what you thought first. Maybe I'll integrate my changes into Maddy, though...it already has a forEach
method, and I always wondered why Underscore didn't include a class implementation by default.
Hmm... will this solve my problem of Klass.js not evaluating at all? https://github.com/ded/klass/issues/8
This is a massive rewrite of
klass
that normalizes support for the buggyfor...in
iteration algorithms in Internet Explorer and Safari, and removes function decompilation as discussed in issue #4. I've also updated the read me with several more examples. Cheers!