kicstart / OpenSpace

4 stars 3 forks source link

Loading sequencing #8

Open KyleYoung opened 12 years ago

KyleYoung commented 12 years ago

In world, navigation and integration tests, the order of the dependency loading is causing errors a certain percentage of the time; it occasionally requires up to 8 refreshes of the page before it initializes correctly.

jonotron commented 12 years ago

I saw this as well... Perhaps LabJs: http://getify.github.com/LABjs/

Async/sync js loads... we can block while loading some required libs (like Three) in the order necessary and async while loading superfluous stuff

jonotron commented 12 years ago

I think we should consider moving to AMD compliance and using require.js both client and server side.