Created
June 5, 2012 15:17
-
-
Save toddpi314/2875610 to your computer and use it in GitHub Desktop.
MooTools_Class_ManagerSample_Instancing
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 myIntroductionViewInstance = new IntroductionView(); | |
var myWizardViewInstance = new WizardView(); | |
// Use Async Load Strategy | |
myIntroductionViewInstance.load(function() { | |
myWizardViewInstance.load(function() { | |
console.log('both the myWizardInstance and the myIntroductionInstance loaded'); | |
}, function() { | |
console.log('load failure on the myWizardInstance'); | |
}); | |
}, function() { | |
console.log('load failure on the myIntroductionInstance'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment