Example #1
0
    onNext: function(event) {
      event.preventDefault(); // Prevent FormNavigation from taking over.

      // Clear HTML cache since the outcome of the setup will change it, and if
      // the user bails mid-setup, the app will not show the older incorrect
      // state.
      htmlCache.reset();

      // The progress card is the dude that actually tries to create the
      // account.
      cards.pushCard(
        'setup_progress', 'animate',
        {
          displayName: this.nameNode.value,
          emailAddress: this.emailNode.value,
          callingCard: this
        },
        'right');
    },
Example #2
0
 resetStartupCache: function() {
   htmlCache.reset();
   console.log('htmlCache.reset done');
 },