Skip to content

Commit

Permalink
fix dep-check
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouyx committed May 18, 2018
1 parent 86ce2f6 commit 95a8774
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions build-system/dep-check-config.js
Expand Up @@ -129,6 +129,7 @@ exports.rules = [
'ads/**->src/types.js',
'ads/**->src/string.js',
'ads/**->src/style.js',
'ads/**->src/consent-state.js',
'ads/google/adsense-amp-auto-ads.js->src/experiments.js',
'ads/google/doubleclick.js->src/experiments.js',
// ads/google/a4a doesn't contain 3P ad code and should probably move
Expand Down
2 changes: 2 additions & 0 deletions src/consent-state.js
Expand Up @@ -28,6 +28,8 @@ export const CONSENT_POLICY_STATE = {
UNKNOWN: 4,
};

// TODO(@zhouyx): Move following functions to a service

/**
* Returns a promise that resolve when all consent state the policy wait
* for resolve. Or if consent service is not available.
Expand Down

0 comments on commit 95a8774

Please sign in to comment.