|
|
|
|
|
by daleharvey
4831 days ago
|
|
Often a good reason to use not so pretty code is for performance reasons, you didnt mention checking up on that so it would probably be prudent to do so (micro optimisations are totally valid for hot paths in libraries like jquery and browser performance is often very unintuitive) Also if I was going to write it 'cleaner', I would find something like http://pastie.org/7118990 cleaner. (but in essence I agree) |
|