File: for.complex.styl

package info (click to toggle)
node-stylus 0.48.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,196 kB
  • ctags: 766
  • sloc: makefile: 38
file content (43 lines) | stat: -rw-r--r-- 499 bytes parent folder | download | duplicates (6)
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
vals = a b c d e f g

body
  for val in vals
    foo val

body
  for val in vals[0]
    foo val

body
  for val, i in vals[1..3]
    foo i unquote(':') val

body
  for msg in (error 'test') (error 'foo')
    foo msg[0] test msg[1]

body
  for char in a b c d
    for num in 0 1 2 3
      foo num char

fonts = helvetica, arial, sans-serif

body
  for font in fonts
    foo font

foo()
  bar = 1

  for x in arguments
    null

  baz bar is defined
  baz bar is defined

body
  foo()

body
  foo(42)