lib/client/link.js
function renderPage(state) {
    // Get presenter object
    piccolo.require(state.resolved.name, function (error, Resource) {
      if (error) return piccolo.emit('error', error);

      var presenter = new Resource(state.query.href, document);
          presenter[state.resolved.method].apply(presenter, state.resolved.args);
    });
  }
function renderPage(state) {
    // Get presenter object
    piccolo.require(state.resolved.name, function (error, Resource) {
      if (error) return piccolo.emit('error', error);

      var presenter = new Resource(state.query.href, document);
          presenter[state.resolved.method].apply(presenter, state.resolved.args);
    });
  }
function renderPage ( state ) { // Get presenter object piccolo . require ( state . resolved . name , function ( error , Resource ) { if ( error ) return piccolo . emit ( 'error' , error ) ; var presenter = new Resource ( state . query . href , document ) ; presenter [ state . resolved . method ] . apply ( presenter , state . resolved . args ) ; } ) ; }
Render page change
Render page change