Created
June 8, 2012 15:34
-
-
Save toddpi314/2896190 to your computer and use it in GitHub Desktop.
Rich_Domain_Components_Example
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
// Build the loader instance and pass in your ordered list of Concrete types that implement DeepElement.ThreeOneFour.Component | |
var comonentLoader = new DeepElement.ThreeOneFour.Helpers.ComponentLoader( | |
components); | |
comonentLoader.load(function() { | |
// all components have loaded | |
}, function() { | |
// a component failed | |
// check the "this" context to find out which one | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment