I was just getting started with Blits and was confused to get errors like "Cannot use 'in' operator to search for 'fontLoader' in undefined" and "Cannot read properties of undefined (reading 'w')". Turns out I hadn't provided any settings object to Blits.Launch().
I suggest either handling an undefined/null settings object, or throwing a more meaningful error if one is provided.
I was just getting started with Blits and was confused to get errors like "Cannot use 'in' operator to search for 'fontLoader' in undefined" and "Cannot read properties of undefined (reading 'w')". Turns out I hadn't provided any settings object to
Blits.Launch()
.I suggest either handling an undefined/null settings object, or throwing a more meaningful error if one is provided.