Skip to content

Commit

Permalink
Checks
Browse files Browse the repository at this point in the history
  • Loading branch information
kristoferbaxter committed Jun 2, 2021
1 parent 2e976b4 commit d33e5b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions build-system/test-configs/forbidden-terms.js
Original file line number Diff line number Diff line change
Expand Up @@ -864,12 +864,13 @@ const forbiddenTermsSrcInclusive = {
'src/service/resources-impl.js',
'src/service/variable-source.js',
'src/validator-integration.js',
'extensions/amp-image-lightbox/0.1/amp-image-lightbox.js',
'extensions/amp-analytics/0.1/transport.js',
'extensions/amp-web-push/0.1/iframehost.js',
'extensions/amp-recaptcha-input/0.1/amp-recaptcha-service.js',
'extensions/amp-auto-lightbox/0.1/amp-auto-lightbox.js',
'extensions/amp-image-lightbox/0.1/amp-image-lightbox.js',
'extensions/amp-image-slider/0.1/amp-image-slider.js',
'extensions/amp-image-viewer/0.1/amp-image-viewer.js',
'extensions/amp-recaptcha-input/0.1/amp-recaptcha-service.js',
'extensions/amp-web-push/0.1/iframehost.js',
],
},
'\\.getTime\\(\\)': {
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-auto-lightbox/0.1/amp-auto-lightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class Criteria {
// Images that are a direct child of an AMP-IMG do not need additional treatment.
return false;
}

const disabledSelector = `${DISABLED_ANCESTORS},${DISABLED_BY_ATTR}`;
const disabledAncestor = closestAncestorElementBySelector(
element,
Expand Down

0 comments on commit d33e5b4

Please sign in to comment.