Skip to content

Commit

Permalink
Merge pull request ampproject#2483 from erwinmombay/doc-presubmit
Browse files Browse the repository at this point in the history
stop matching doc.contains when there are intermediate accessors
  • Loading branch information
erwinmombay committed Mar 7, 2016
2 parents 4960561 + 2f0e8ce commit 326d8d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-system/tasks/presubmit-checks.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ var forbiddenTerms = {
'src/error.js',
],
},
'(doc.*)\\.contains': {
'(doc[^.]*)\\.contains': {
message: 'Use dom.documentContains API.',
whitelist: [
'src/dom.js',
Expand Down

0 comments on commit 326d8d7

Please sign in to comment.