Skip to content

Commit

Permalink
Revert "New debugging functionality with bid overrides (prebid#2492)"
Browse files Browse the repository at this point in the history
This reverts commit 48bd7b8.
  • Loading branch information
snapwich authored and Pupis committed Jun 7, 2018
1 parent 0ab2dd3 commit 2c11ede
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 237 deletions.
89 changes: 0 additions & 89 deletions src/debugging.js

This file was deleted.

3 changes: 0 additions & 3 deletions src/hook.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ export function createHook(type, fn, hookName) {
},
removeHook: function(removeFn) {
_hooks = _hooks.filter(hook => hook.fn === fn || hook.fn !== removeFn);
},
hasHook: function(fn) {
return _hooks.some(hook => hook.fn === fn);
}
};

Expand Down
4 changes: 0 additions & 4 deletions src/prebid.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { config } from './config';
import { auctionManager } from './auctionManager';
import { targeting, getOldestBid, RENDERED, BID_TARGETING_SET } from './targeting';
import { createHook } from 'src/hook';
import { sessionLoader } from 'src/debugging';
import includes from 'core-js/library/fn/array/includes';

const $$PREBID_GLOBAL$$ = getGlobal();
Expand All @@ -28,9 +27,6 @@ const eventValidators = {
bidWon: checkDefinedPlacement
};

// initialize existing debugging sessions if present
sessionLoader();

/* Public vars */
$$PREBID_GLOBAL$$.bidderSettings = $$PREBID_GLOBAL$$.bidderSettings || {};

Expand Down
141 changes: 0 additions & 141 deletions test/spec/debugging_spec.js

This file was deleted.

0 comments on commit 2c11ede

Please sign in to comment.