Famous / engine

MIT License
1.75k stars 250 forks source link

refact: Throw error when using FamousEngine#init in a web worker #429

Closed alexanderGugel closed 9 years ago

alexanderGugel commented 9 years ago

FamousEngine#init can only be used when we have access to the global window object. We should throw an error in that case to avoid obscure stack traces.

michaelobriena commented 9 years ago

landed as 9fbdb36