projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2d263319afd66e7605e95d5a981fac753da00145
[platform/framework/web/crosswalk-tizen.git]
/
1
if ( true ) {
2
doStuff()
3
}
4
5
if ( foo || bar ) {
6
if ( bar === 'bar' ) {
7
// nested
8
log('nested if');
9
} else {
10
log('nested else')
11
}
12
} else if ( baz == null ) {
13
// else if
14
log('elseif');
15
} else {
16
// else
17
log('else');
18
// should keep the 2 empty lines
19
20
21
}
22
23
if ( singleLine ) singleLine();
24
25
26
// it's a trap!
27
if ( asi && noBraces )
28
dolor()
29
else
30
amet();
31