Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toddpi314/2875663 to your computer and use it in GitHub Desktop.
Save toddpi314/2875663 to your computer and use it in GitHub Desktop.
MooTools_Class_ManagerSample_Usage
if (myIntroductionViewInstance.getIsLoaded()) {
if (myIntroductionViewInstance instanceof CoreView) {
console.log('yes, myIntroductionViewInstance is a CoreView');
}
if (myIntroductionViewInstance instanceof IntroductionView) {
console.log('yes, myIntroductionViewInstance is a IntroductionView');
}
myIntroductionViewInstance.showIntroScreen();
}
if (myWizardViewInstance.getIsLoaded()) {
myWizardViewInstance.transitionWizardStep();
}​
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment