iPlantCollaborativeOpenSource/troposphere — pull request #15 by jchansen (2014-06-04 20:54:30+00:00)
Title: Jchansen/fix whitescreen bug

1. Added Backbone as a dependency to every file that used it. This resolves a bug where (especially with slow internet connections) components would load before Backbone was ready, and then throw console errors because they couldn't find Backbone. By default Backbone adds itself to the window object, so it's globally available, but allowing that behavior doesn't guarantee load order (which is managed by require). Anyway, making everything explicit appears to have solved the problem. I also used Charles proxy (a Mac app) to throttle my internet down super slow (and modified my local copy of Backbone to not let it attach to the window object) and have verified this bug appears to be gone. No one is relying on the global version anymore.