Skip to content

Commit

Permalink
nobid Analytics Adapter : import logMessage (prebid#11833)
Browse files Browse the repository at this point in the history
* Update nobidAnalyticsAdapter.js

Fixes prebid#11668

* Update uid2IdSystem_shared.js

* Update uid2IdSystem.js

* Update nobidAnalyticsAdapter.js
  • Loading branch information
patmmccann authored and DecayConstant committed Jul 18, 2024
1 parent 0f30e73 commit 5646a6c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
5 changes: 2 additions & 3 deletions modules/nobidAnalyticsAdapter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {deepClone, logError, getParameterByName} from '../src/utils.js';
import {deepClone, logError, getParameterByName, logMessage} from '../src/utils.js';
import {ajax} from '../src/ajax.js';
import {getStorageManager} from '../src/storageManager.js';
import adapter from '../libraries/analyticsAdapter/AnalyticsAdapter.js';
Expand Down Expand Up @@ -26,8 +26,7 @@ const {
AD_RENDER_SUCCEEDED
} = EVENTS;
function log (msg) {
// eslint-disable-next-line no-console
console.log(`%cNoBid Analytics ${VERSION}`, 'padding: 2px 8px 2px 8px; background-color:#f50057; color: white', msg);
logMessage(`%cNoBid Analytics ${VERSION}: ${msg}`);
}
function isJson (str) {
return str && str.startsWith('{') && str.endsWith('}');
Expand Down
1 change: 0 additions & 1 deletion modules/uid2IdSystem.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable no-console */
/**
* This module adds uid2 ID support to the User ID module
* The {@link module:modules/userId} module is required.
Expand Down
1 change: 0 additions & 1 deletion modules/uid2IdSystem_shared.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable no-console */
import { ajax } from '../src/ajax.js';
import { cyrb53Hash } from '../src/utils.js';

Expand Down

0 comments on commit 5646a6c

Please sign in to comment.