Skip to content

Commit

Permalink
add amp-bind alternative syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 authored Oct 26, 2019
1 parent 27779e0 commit 248d4c3
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 248d4c3

Please sign in to comment.