Skip to content

Commit

Permalink
[soy mode] Update @prop to @State
Browse files Browse the repository at this point in the history
The name change was made in Soy recently.
  • Loading branch information
joyzhong authored and marijnh committed Feb 12, 2019
1 parent e80024c commit 7a1bff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mode/soy/soy.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@
if (!state.scopes) {
state.variables = prepend(null, 'ij');
}
} else if (state.tag.match(/^@(?:param\??|inject|prop)/)) {
} else if (state.tag.match(/^@(?:param\??|inject|state)/)) {
state.soyState.push("param-def");
} else if (state.tag.match(/^(?:param)/)) {
state.soyState.push("param-ref");
Expand Down

0 comments on commit 7a1bff4

Please sign in to comment.