[Celerity-users] Loading Dojo from Google CDN
Ashley Moran
ashley.moran at patchspace.co.uk
Wed Jul 29 10:58:16 EDT 2009
Hi
We've been using Dojo, and for a while we were serving the JavaScript
locally. We switched to using the Google CDN, but since then some of
our Cucumber features started breaking. These are ones that have
`dojo.require` and `dojo.addOnLoad` calls.
I'm pretty sure it's because using the Google CDN means you have to
use the cross-domain loader, which is asynchronous. Using
`Browser#wait` fixes the features, but means we have to litter them
with 'And I wait for JavaScript actions to complete', and it makes it
really slow.
Is there a good way round this asynchronous loading issue?
Cheers
Ashley
--
http://www.patchspace.co.uk/
http://www.linkedin.com/in/ashleymoran
http://aviewfromafar.net/
More information about the Celerity-users
mailing list