obiot/melonJS — pull request #175 by DblK (2013-03-18 04:44:20+00:00)
Title: Fix a problem when spacing and margin and not define

Since the last version, my sprite animation didn't work because I didn't specify the margin and spacing value. Instead of having "0" it has "undefined" and that blow up all my code and animation didn't work.

I just fixed the problem by adding a "0" value when undefined is set and now my player animation is working again.