demo/aboutme/aboutme.js
function(resp) {
  if (resp.name) {
    resp.details = "Speaks: " + resp.locale + ", Gender: " + resp.gender;
  }
  page.emit('profile', resp);
}
function(resp) {
  if (resp.name) {
    resp.details = "Speaks: " + resp.locale + ", Gender: " + resp.gender;
  }
  page.emit('profile', resp);
}
function ( resp ) { if ( resp . name ) { resp . details = "Speaks: " + resp . locale + ", Gender: " + resp . gender ; } page . emit ( 'profile' , resp ) ; }
onProfile is called by the script included by importScripts above.
onProfile is called by the script included by importScripts above .