Skip to content

Commit 7a1bff4

Browse files
joyzhongmarijnh
authored andcommitted
[soy mode] Update @prop to @State
The name change was made in Soy recently.
1 parent e80024c commit 7a1bff4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mode/soy/soy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@
328328
if (!state.scopes) {
329329
state.variables = prepend(null, 'ij');
330330
}
331-
} else if (state.tag.match(/^@(?:param\??|inject|prop)/)) {
331+
} else if (state.tag.match(/^@(?:param\??|inject|state)/)) {
332332
state.soyState.push("param-def");
333333
} else if (state.tag.match(/^(?:param)/)) {
334334
state.soyState.push("param-ref");

0 commit comments

Comments
 (0)