public/javascript/session.js
function pushToRP (event) {
    if (source) {
      console.log('updating RP: changed')
      source.postMessage('changed', origin)
    } else {
      console.log('updateRP called but source undefined')
    }
  }
function pushToRP (event) {
    if (source) {
      console.log('updating RP: changed')
      source.postMessage('changed', origin)
    } else {
      console.log('updateRP called but source undefined')
    }
  }
function pushToRP ( event ) { if ( source ) { console . log ( 'updating RP: changed' ) source . postMessage ( 'changed' , origin ) } else { console . log ( 'updateRP called but source undefined' ) } }
Watch localStorage and keep the RP updated
Watch localStorage and keep the RP updated