cstoquer / pixelbox

A sandbox framework to fast-prototype tile-based games in HTML5 and JavaScript
MIT License
470 stars 36 forks source link

Fix tina require #4

Closed polm closed 7 years ago

polm commented 7 years ago

Without this, opening a browser window to a fresh pixelbox project shows this error:

Error: Cannot find module 'TINA' from '/mnt/futokoro/fiddle/ld39/node_modules'

Seems Tina just need to be required lower case to fix it.

I guess this was caused by a change in Tina at some point? -POLM

cstoquer commented 7 years ago

Hello Paul. Thanks for the fix. I don't know why I didn't get this error myself. Maybe Browserify or the file system works differently on my machine.