extensions/amp-animation/0.1/amp-animation.js
/**
   * Creates the runner but animations will not start.
   * @param {?JsonObject=} opt_args
   * @return {!Promise}
   * @private
   */
Creates the runner but animations will not start.
Creates the runner but animations will not start .
createRunnerIfNeeded_(opt_args) {
    if (!this.runnerPromise_) {
      this.runnerPromise_ = this.createRunner_(opt_args).then(runner => {
        this.runner_ = runner;
        this.runner_.onPlayStateChanged(this.playStateChanged_.bind(this));
        this.runner_.init();
      });
    }
    return this.runnerPromise_;
  }
createRunnerIfNeeded_ ( opt_args ) { if ( ! this . runnerPromise_ ) { this . runnerPromise_ = this . createRunner_ ( opt_args ) . then ( runner => { this . runner_ = runner ; this . runner_ . onPlayStateChanged ( this . playStateChanged_ . bind ( this ) ) ; this . runner_ . init ( ) ; } ) ; } return this . runnerPromise_ ; }
Creates the runner but animations will not start.
Creates the runner but animations will not start .