-
Notifications
You must be signed in to change notification settings - Fork 105
/
closure-templates.scroll
95 lines (82 loc) · 1.7 KB
/
closure-templates.scroll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
../code/conceptPage.scroll
id closure-templates
name Closure Templates
appeared 2009
tags template
lab Google
writtenIn java starlark markdown html javascript protobuf python xml typescript json bazel yaml
isOpenSource true
fileType text
repoStats
firstCommit 2009
commits 5978
committers 90
files 1544
newestCommit 2024
country United States
example
/**
* Says hello to the world.
*/
{template .helloWorld}
Hello world!
{/template}
githubRepo https://github.com/google/closure-templates
firstCommit 2009
stars 635
forks 193
subscribers 37
created 2014
updated 2024
description A client- and server-side templating system that helps you dynamically build reusable HTML and UI elements
issues 198
multiLineCommentTokens /* */
hasMultiLineComments true
/* A comment
*/
hasComments true
/* A comment
*/
hasSemanticIndentation false
githubBigQuery Closure Templates
repos 25
users 18
linguistGrammarRepo https://github.com/mthadley/language-closure-templates
firstCommit 2017
lastCommit 2017
committerCount 2
commitCount 19
sampleCount 1
example
{namespace Exmaple}
/**
* Example
*/
{template .foo}
{@param count: string}
{@param? name: int}
{if isNonnull($name)}
<h1>{$name}</h1>
{/if}
<div class="content">
{switch count}
{case 0}
{call Empty.view}
{param count: $count /}
{/call}
{default}
<h2>Wow, so many!</h2>
{/switch}
</div>
{/template}
githubLanguage Closure Templates
fileExtensions soy
trendingProjectsCount 0
type markup
aceMode soy_template
codemirrorMode soy
codemirrorMimeType text/x-soy
tmScope text.html.soy
aliases soy
repos 424389
semanticScholar 0