extensions/amp-story/1.0/amp-story.js
/**
   * Loads amp-story-education if the viewer capability is provided.
   * @private
   */
Loads amp-story-education if the viewer capability is provided.
@private
Loads amp - story - education if the viewer capability is provided . @private
maybeLoadStoryEducation_() {
    if (!this.viewer_.hasCapability('education')) {
      return;
    }
    this.mutateElement(() => {
      this.element.appendChild(<amp-story-education />);
    });
    Services.extensionsFor(this.win).installExtensionForDoc(
      this.getAmpDoc(),
      'amp-story-education'
    );
  }
maybeLoadStoryEducation_ ( ) { if ( ! this . viewer_ . hasCapability ( 'education' ) ) { return ; } this . mutateElement ( ( ) => { this . element . appendChild ( < amp-story-education / > ) ; } ) ; Services . extensionsFor ( this . win ) . installExtensionForDoc ( this . getAmpDoc ( ) , 'amp-story-education' ) ; }
Loads amp-story-education if the viewer capability is provided.
Loads amp - story - education if the viewer capability is provided .