frostney / flockn

:video_game: Leightweight declarative game engine for JavaScript
The Unlicense
16 stars 0 forks source link

Export globals #8

Closed frostney closed 3 years ago

frostney commented 9 years ago

While I feel that globals should be avoided at all costs, in the effort to make flockn as easily available as possible, a globals interface should be provided. (Also globals are quite convenient when experimenting.)

frostney commented 3 years ago

Hi, this is frostney from the future. Given the tooling has improved a lot in the recent years (like CodeSandbox and similar), I don't think there is a use case for having globals.