Crafty.error()
Crafty.error( arguments )- arguments
arguments which are passed to
console.error
This is a simple wrapper for console.error. You can disable logging messages by setting Crafty.loggingEnabled to false.
It is recommended to use Crafty.error, as console.error can crash on IE9.
google groups
starwed@gmail.com
github