Skip to content

Commit

Permalink
Change [state] usage from warning to error (#13237)
Browse files Browse the repository at this point in the history
  • Loading branch information
William Chou authored Feb 7, 2018
1 parent 537a7d9 commit 8e92030
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 8e92030

Please sign in to comment.