Sha256: 5863e1261f222fecfc09fb5ccd4aa843834d89d44e0559f4282af5b4e0df820b

Contents?: true

Size: 355 Bytes

Versions: 7

Compression:

Stored size: 355 Bytes

Contents

func: ->
  a: 3
  b: []

  while a >= 0
    b.push 'o'
    a--

  c: {
    "text": b
    other: null
    something_else: (x) -> x + 5
  }

  c: 'error' unless 42 > 41

  c.text: if false
    'error'
  else
    c.text + '---'
  d = {
    text = c.text
  }

  c.list: l for l in d.text.split('') when l is '-'

  c.single: c.list[1..1][0]

ok func() is '-'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
haml-more-0.5.1 vendor/coffee-script/test/test_everything.coffee
haml-more-0.5.0 vendor/coffee-script/test/test_everything.coffee
haml-more-0.4.0 vendor/coffee-script/test/test_everything.coffee
haml-more-0.4.0.d vendor/coffee-script/test/test_everything.coffee
haml-more-0.4.0.c vendor/coffee-script/test/test_everything.coffee
haml-more-0.4.0.b vendor/coffee-script/test/test_everything.coffee
haml-more-0.4.0.a vendor/coffee-script/test/test_everything.coffee