smart_card_connector_app/src/background.js
/**
 * Sets global variables to be used by the main window (once it's opened).
 */
Sets global variables to be used by the main window (once it's opened).
Sets global variables to be used by the main window ( once it ' s opened ) .
function exposeGlobalsForMainWindow() {
  goog.global['googleSmartCard_clientAppListUpdateSubscriber'] =
      messageChannelPool.addOnUpdateListener.bind(messageChannelPool);
  goog.global['googleSmartCard_readerTrackerSubscriber'] =
      readerTracker.addOnUpdateListener.bind(readerTracker);
  goog.global['googleSmartCard_readerTrackerUnsubscriber'] =
      readerTracker.removeOnUpdateListener.bind(readerTracker);
}
function exposeGlobalsForMainWindow ( ) { goog . global [ 'googleSmartCard_clientAppListUpdateSubscriber' ] = messageChannelPool . addOnUpdateListener . bind ( messageChannelPool ) ; goog . global [ 'googleSmartCard_readerTrackerSubscriber' ] = readerTracker . addOnUpdateListener . bind ( readerTracker ) ; goog . global [ 'googleSmartCard_readerTrackerUnsubscriber' ] = readerTracker . removeOnUpdateListener . bind ( readerTracker ) ; }
Sets global variables to be used by the main window (once it's opened).
Sets global variables to be used by the main window ( once it ' s opened ) .