Skip to content

Commit

Permalink
Remove [state] from validator-amp-list.protoascii
Browse files Browse the repository at this point in the history
  • Loading branch information
samouri committed Jan 15, 2020
1 parent ba578fe commit d05f953
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion extensions/amp-list/0.1/test/validator-amp-list.out
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ FAIL
| <!-- Valid: amp-list with both src and [src] attributes -->
| <amp-list width=10 height=10
>> ^~~~~~~~~
amp-list/0.1/test/validator-amp-list.html:48:2 The attribute '[state]' in tag 'amp-list' is deprecated - use '[src]' instead.
amp-list/0.1/test/validator-amp-list.html:48:2 The attribute '[state]' may not appear in tag 'amp-list'. (see https://amp.dev/documentation/components/amp-list)
| src="https://data.com/articles.json?ref=CANONICAL_URL"
| [src]="foo.bar" [state]="baz.qux">
| <div></div>
Expand Down
4 changes: 0 additions & 4 deletions extensions/amp-list/validator-amp-list.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,6 @@ tags: { # <amp-list> with mandatory src and/or [src] attr
name: "[src]"
mandatory_anyof: "['src','[src]','data-amp-bind-src']"
}
attrs: {
name: "[state]"
deprecation: "[src]"
}
attr_lists: "extended-amp-global"
amp_layout: {
supported_layouts: FILL
Expand Down

0 comments on commit d05f953

Please sign in to comment.