louisstow/Crafty — Issue #146: Crafty.sprite Signature
Author: thepudding
Created: 2011-11-25 09:08:24+00:00
State: open

The signature in the comments:
```@sign public this Crafty.sprite([Number tile], String url, Object map[, Number paddingX[, Number paddingY]])
```

Does not match the actual signature:
```sprite: function(tile, tileh, url, map, paddingX, paddingY)
```

For instance
```Crafty.sprite("sprite.png", {a:[1,2,4,4]});
```
produces an error.