Skip to content

Commit

Permalink
remove unused vars, reference module name
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Lauzon committed Oct 14, 2020
1 parent b876ed0 commit ede5682
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions modules/audigentRtdProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ const storage = getStorageManager();

/** @type {string} */
const MODULE_NAME = 'realTimeData';

/** @type {ModuleParams} */
let _moduleParams = {};
const SUBMODULE_NAME = 'audigent';

/**
* XMLHttpRequest to get data form audigent server
Expand Down Expand Up @@ -113,15 +111,14 @@ function getSegmentsAsync(adUnits, onDone, config, userConsent) {
}

export function init(config) {
_moduleParams = {};
return true;
}

/** @type {RtdSubmodule} */
export const audigentSubmodule = {
name: 'audigent',
name: SUBMODULE_NAME,
getBidRequestData: getSegments,
init: init
};

submodule('realTimeData', audigentSubmodule);
submodule(MODULE_NAME, audigentSubmodule);

0 comments on commit ede5682

Please sign in to comment.