You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: versioned_docs/version-v2/language-elements/language-elements.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ Braces statements are special Textwire constructs that begin with `{{` and end w
44
44
## Textwire with JavaScript
45
45
Many JavaScript frameworks and libraries use the `@` symbol or `{{ }}` for their own purposes. To avoid conflicts, you escape it with a backslash `\`.
46
46
47
-
For example, `\@if(x == 1)` and `\{{ x = 1 }}` will not be parsed as Textwire directives or bracesstatements.
47
+
For example, `\@if(x == 1)` and `\{{ x = 1 }}` will not be parsed as Textwire directives or braces statements.
48
48
49
49
## Types and Literals
50
50
Textwire has a different type system that Go. When you pass a variable to Textwire, it will be automatically converted to a Textwire type. Here is a list of supported types that you can pass to Textwire or define in Textwire:
0 commit comments