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.7.5 spec/fixtures/complex.generate.yml
liquidscript-0.7.4 spec/fixtures/complex.generate.yml
liquidscript-0.7.3 spec/fixtures/complex.generate.yml
liquidscript-0.7.2 spec/fixtures/complex.generate.yml
liquidscript-0.7.1 spec/fixtures/complex.generate.yml
liquidscript-0.7.0 spec/fixtures/complex.generate.yml
liquidscript-0.6.5 spec/fixtures/complex.generate.yml
liquidscript-0.6.4 spec/fixtures/complex.generate.yml
liquidscript-0.6.3 spec/fixtures/complex.generate.yml
liquidscript-0.6.2 spec/fixtures/complex.generate.yml
liquidscript-0.6.1 spec/fixtures/complex.generate.yml
liquidscript-0.6.0 spec/fixtures/complex.generate.yml
liquidscript-0.5.1 spec/fixtures/complex.generate.yml
liquidscript-0.5.0 spec/fixtures/complex.generate.yml