Closed dmitrizagidulin closed 12 years ago
Apologies - I thought I could do more than one pull request in a row. The edit adds:
Added more JSDoc comments to SpriteList. Tweaked splice() to return the removed elements, per function spec.
Hm, deleteIf() is deprecated? :) .. when this this happen, sounds like a mistake, I use it in almost all my games on ippa.se
Ah, ok. So we should remove the '@deprecated' tag in the jsdoc of deleteIf(), then :) If that was put there by mistake.
so yes, it was rightfully deprecated. git blame blamed it on me so ;). we'll leave it in jaws for a while though.
Minor change - if deleteIf() is to be deprecated, let's remove it from the examples/docs.
(At least it taught me a fun fact, that the Eclipse JS plugin displays deprecated functions with a strikethrough. Took me way too many minutes during Ludum Dare to figure what that was, tho :) )