Skip to content

Commit

Permalink
Change [state] usage from warning to error (ampproject#13237)
Browse files Browse the repository at this point in the history
  • Loading branch information
William Chou authored and protonate committed Mar 15, 2018
1 parent a071898 commit d18b8f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/amp-list/0.1/amp-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class AmpList extends AMP.BaseElement {
} else if (state !== undefined) {
const items = isArray(state) ? state : [state];
this.renderItems_(items);
user().warn(TAG, '[state] is deprecated, please use [src] instead.');
user().error(TAG, '[state] is deprecated, please use [src] instead.');
}
}

Expand Down

0 comments on commit d18b8f4

Please sign in to comment.