Created
June 8, 2012 15:18
-
-
Save toddpi314/2896125 to your computer and use it in GitHub Desktop.
Rich_Domain_Components_2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var component1 = new DeepElement.ThreeOneFour.Component(); | |
var component2 = new DeepElement.ThreeOneFour.Component(); | |
var component3 = new DeepElement.ThreeOneFour.Component(); | |
component1.load(function() { | |
component2.load(function() { | |
component3.load(function() { | |
// phewww! all three loadedF | |
}, function() { | |
// component3 failed to load | |
}); | |
}, function() { | |
// component2 failed to load | |
}); | |
}, function() { | |
// component1 failed to load | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment