index.js
function render() {
    var framework = this._bigpipe._framework
      , bootstrap = this
      , data;

    data = this.keys.reduce(function reduce(memo, key) {
      memo[key] = bootstrap[key];
      return memo;
    }, {});

    //
    // Adds initial HTML headers to the queue. The first flush will
    // push out these headers immediately. If the render mode is sync
    // the headers will be injected with the other content. Since each
    // front-end framework might require custom bootstrapping, data is
    // passed to fittings, which will return valid bootstrap content.
    //
    this.debug('Queueing initial headers');
    this._queue.push({
      name: this.name,
      view: framework.get('bootstrap', {
        name: this.name,
        template: '',
        id: this.id,
        data: data,
        state: {}
      })
    });

    return this;
  }
function render() {
    var framework = this._bigpipe._framework
      , bootstrap = this
      , data;

    data = this.keys.reduce(function reduce(memo, key) {
      memo[key] = bootstrap[key];
      return memo;
    }, {});

    //
    // Adds initial HTML headers to the queue. The first flush will
    // push out these headers immediately. If the render mode is sync
    // the headers will be injected with the other content. Since each
    // front-end framework might require custom bootstrapping, data is
    // passed to fittings, which will return valid bootstrap content.
    //
    this.debug('Queueing initial headers');
    this._queue.push({
      name: this.name,
      view: framework.get('bootstrap', {
        name: this.name,
        template: '',
        id: this.id,
        data: data,
        state: {}
      })
    });

    return this;
  }
function render ( ) { var framework = this . _bigpipe . _framework , bootstrap = this , data ; data = this . keys . reduce ( function reduce ( memo , key ) { memo [ key ] = bootstrap [ key ] ; return memo ; } , { } ) ; // // Adds initial HTML headers to the queue. The first flush will // push out these headers immediately. If the render mode is sync // the headers will be injected with the other content. Since each // front-end framework might require custom bootstrapping, data is // passed to fittings, which will return valid bootstrap content. // this . debug ( 'Queueing initial headers' ) ; this . _queue . push ( { name : this . name , view : framework . get ( 'bootstrap' , { name : this . name , template : '' , id : this . id , data : data , state : { } } ) } ) ; return this ; }
Render the HTML template with the data provided. Temper provides a minimal
templater to handle data in HTML templates. Data has to be specifically
provided, properties of `this` are not enumerable and would not be included.

@returns {Pagelet} this
@api public
Render the HTML template with the data provided . Temper provides a minimal templater to handle data in HTML templates . Data has to be specifically provided properties of this are not enumerable and would not be included .