dist/iframe.js
function(callbackUUID, result) {
    var callback = apiListeners[callbackUUID];
    if (callback) {
      if ( !(result && result instanceof Array )) {
        if(window.console && console.error){
          console.error('received result is not an array.', result);
        }
      }
      callback.apply(this, result);
      delete apiListeners[callbackUUID];
    }
  }
function(callbackUUID, result) {
    var callback = apiListeners[callbackUUID];
    if (callback) {
      if ( !(result && result instanceof Array )) {
        if(window.console && console.error){
          console.error('received result is not an array.', result);
        }
      }
      callback.apply(this, result);
      delete apiListeners[callbackUUID];
    }
  }
function ( callbackUUID , result ) { var callback = apiListeners [ callbackUUID ] ; if ( callback ) { if ( ! ( result && result instanceof Array ) ) { if ( window . console && console . error ) { console . error ( 'received result is not an array.' , result ) ; } } callback . apply ( this , result ) ; delete apiListeners [ callbackUUID ] ; } }
Events called when callback are received from post message.
@private
@param callBackUUID the uuid of the callback to call
@param result the result parameter to the caallback
Events called when callback are received from post message .