Skip to content

Commit

Permalink
fix: Support amp-bind alternative syntax (#85)
Browse files Browse the repository at this point in the history
Add amp-bind alternative syntax
  • Loading branch information
farnabaz authored Nov 4, 2019
2 parents 27779e0 + 248d4c3 commit b39b846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function getTags ({
{ tag: 'amp-autocomplete', version: '0.1' },
{ tag: 'amp-base-carousel', version: '0.1' },
{ tag: 'amp-beopinion', version: '0.1' },
{ tag: 'amp-bind', version: '0.1', regex: /<[^>]*\[.*\][^>]*>/gi }, // usage detection via <..[..]=..>
{ tag: 'amp-bind', version: '0.1', regex: /<[^>]*(?:\[.*\]|data-amp-bind-\w+)[^>]*>/gi }, // usage detection via <..[..]=..>
{ tag: 'amp-bodymovin-animation', version: '0.1' },
{ tag: 'amp-brid-player', version: '0.1' },
{ tag: 'amp-brightcove', version: '0.1' },
Expand Down

0 comments on commit b39b846

Please sign in to comment.