Sha256: 1b6bec495231e222f7ba42e55f251b7cb350434423b40bc1de019012d3145890

Contents?: true

Size: 394 Bytes

Versions: 34

Compression:

Stored size: 394 Bytes

Contents

data: |
  # comment
  thing = {
    test: -> {
      if(undefined) {
        "test"
      } elsif(null) {
        "um"
      } else {
        "hello"
      }
    }
  }

  thing.test()

compiled: |
  var thing;

  thing = {
    "test": function() {
      if(undefined) {
        "test";
      } else if(null) {
        "um";
      } else {
        "hello";
      };
    }
  };

  thing.test();

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
liquidscript-0.11.0 spec/fixtures/complex.generate.yml
liquidscript-0.11.0.rc1 spec/fixtures/complex.generate.yml
liquidscript-0.10.4 spec/fixtures/complex.generate.yml
liquidscript-0.10.3 spec/fixtures/complex.generate.yml
liquidscript-0.10.2 spec/fixtures/complex.generate.yml
liquidscript-0.10.1 spec/fixtures/complex.generate.yml
liquidscript-0.10.0 spec/fixtures/complex.generate.yml
liquidscript-0.9.2 spec/fixtures/complex.generate.yml
liquidscript-0.9.1 spec/fixtures/complex.generate.yml
liquidscript-0.9.0 spec/fixtures/complex.generate.yml
liquidscript-0.8.2 spec/fixtures/complex.generate.yml
liquidscript-0.8.1 spec/fixtures/complex.generate.yml
liquidscript-0.8.0 spec/fixtures/complex.generate.yml
liquidscript-0.7.12 spec/fixtures/complex.generate.yml
liquidscript-0.7.11 spec/fixtures/complex.generate.yml
liquidscript-0.7.10 spec/fixtures/complex.generate.yml
liquidscript-0.7.9 spec/fixtures/complex.generate.yml
liquidscript-0.7.8 spec/fixtures/complex.generate.yml
liquidscript-0.7.7 spec/fixtures/complex.generate.yml
liquidscript-0.7.6 spec/fixtures/complex.generate.yml