-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
maskjs.scroll
133 lines (105 loc) · 2.69 KB
/
maskjs.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
import ../code/conceptPage.scroll
id maskjs
name Mask
appeared 2012
tags template
website http://www.atmajs.com/
latestVersion 0.72.47
isOpenSource true
writtenIn typescript javascript json html markdown yaml css ini
fileType text
centralPackageRepositoryCount 0
repoStats
firstCommit 2012
commits 1714
committers 9
files 537
newestCommit 2023
country Germany
originCommunity https://github.com/atmajs
pygmentsHighlighter Mask
filename javascript.py
fileExtensions mask
githubRepo https://github.com/atmajs/maskjs
firstCommit 2012
stars 95
forks 6
subscribers 10
created 2012
updated 2022
description Markup | Template | HMVC
issues 1
lineCommentToken //
multiLineCommentTokens /* */
hasLineComments true
// A comment
hasComments true
// A comment
hasMultiLineComments true
/* A comment
*/
hasSemanticIndentation false
domainName atmajs.com
registered 2013
githubBigQuery Mask
repos 595
users 576
linguistGrammarRepo https://github.com/tenbits/sublime-mask
firstCommit 2014
lastCommit 2018
committerCount 2
commitCount 60
sampleCount 1
example
// HTML Elements
header {
img .logo src='/images/~[currentLogo].png' alt=logo;
h4 > 'Bar View'
if (currentUser) {
.account >
a href='/acount' >
'Hello, ~[currentUser.username]'
}
}
.view {
ul {
// Iteration
for ((user, index) of users) {
li.user data-id='~[user.id]' {
// interpolation
.name > '~[ user.username ]'
// expression
.count > '~[: user.level.toFixed(2) ]'
// util
/* Localization sample
* lastActivity: "Am {0:dd. MM} war der letzte Eintrag"
*/
.date > '~[ L: "lastActivity", user.date]'
}
}
}
// Component
:countdownComponent {
input type = text >
:dualbind value='number';
button x-signal='click: countdownStart' > 'Start';
h5 {
'~[bind: number]'
:animation x-slot='countdownStart' {
@model > 'transition | scale(0) > scale(1) | 500ms'
@next > 'background-color | red > blue | 2s linear'
}
}
}
}
footer > :bazCompo {
'Component generated at ~[: $u.format($c.date, "HH-mm") ]'
}
isbndb 0
githubLanguage Mask
fileExtensions mask
trendingProjectsCount 0
type markup
aceMode mask
tmScope source.mask
repos 306