-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dummy PR to review approver acces #551
base: nightly
Are you sure you want to change the base?
Changes from all commits
5a2f0ec
af4a99b
97438ea
55ebda4
be872ac
0fa61c1
6e261b1
2b67026
a75cf03
4ec8328
eb83d2d
1a6a811
9ac2b1f
679c3eb
8389bf4
79bbe22
aa01a3f
6ac8393
525307d
8ae915c
89ac7e2
9b152bf
02281ba
3525837
e4128d8
ecb045b
ab5393c
2340f52
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,4 +107,4 @@ elif [ "$platform" = "$PLATFORM_AMP" ] | |
./build.sh --task=$task --mode=$mode | ||
else | ||
echo "None" | ||
fi | ||
fi |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,7 +1,21 @@ | ||||||
// NOTE: This file will contains only common code/function used in OW and IDHUB. | ||||||
|
||||||
var config = require("./conf.js"); | ||||||
var CONSTANTS = require("./constants.js"); | ||||||
|
||||||
exports.getGdprActionTimeout = function() { | ||||||
var gdprActionTimeout = config[CONSTANTS.CONFIG.COMMON][CONSTANTS.CONFIG.GDPR_ACTION_TIMEOUT]; | ||||||
return gdprActionTimeout ? window.parseInt(gdprActionTimeout) : 0; | ||||||
}; | ||||||
|
||||||
exports.setConsentConfig = function (prebidConfig, key, cmpApi, timeout) { | ||||||
prebidConfig = prebidConfig || {}; | ||||||
if (!prebidConfig["consentManagement"]) { | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Codacy has a fix for the issue: Expected indentation of 1 tab but found 2 spaces.
Suggested change
|
||||||
prebidConfig["consentManagement"] = {}; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Codacy has a fix for the issue: Expected indentation of 2 tabs but found 4 spaces.
Suggested change
|
||||||
} | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Codacy has a fix for the issue: Expected indentation of 1 tab but found 2 spaces.
Suggested change
|
||||||
prebidConfig["consentManagement"][key] = { | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Codacy has a fix for the issue: Expected indentation of 1 tab but found 2 spaces.
Suggested change
|
||||||
cmpApi: cmpApi, | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Codacy has a fix for the issue: Expected indentation of 2 tabs but found 4 spaces.
Suggested change
|
||||||
timeout: timeout | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Codacy has a fix for the issue: Expected indentation of 2 tabs but found 4 spaces.
Suggested change
|
||||||
}; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Codacy has a fix for the issue: Expected indentation of 1 tab but found 2 spaces.
Suggested change
|
||||||
return prebidConfig; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Codacy has a fix for the issue: Expected indentation of 1 tab but found 2 spaces.
Suggested change
|
||||||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy has a fix for the issue: Expected indentation of 1 tab but found 2 spaces.