Sha256: e0241d681d56fec39a072a212758021dd1654e23817a80e3dc613ed4f26a084f

Contents?: true

Size: 644 Bytes

Versions: 4

Compression:

Stored size: 644 Bytes

Contents

data: |
  Test = require("some_module/test")

  module SomeModule {
    class Thing {
      initialize: -> {
        this.test = new Test()
      }

      do: (thing)-> {
        return this.test.do(thing)
      }
    }
  }

compiled: |
  var Test, SomeModule, Thing;
  Test = require("some_module/test");
  SomeModule = SomeModule || {};
  Thing = Thing || function Thing() {
    if(this.initialize) {
      this.initialize.apply(this, arguments);
    }
  };

  Thing.prototype.initialize = function() {
    this.test = new Test();
  };

  Thing.prototype.do = function(thing) {
    return this.test.do(thing)
  };
  SomeModule.Thing = Thing;

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
liquidscript-0.4.1 spec/fixtures/combination.generate.yml
liquidscript-0.4.0 spec/fixtures/combination.generate.yml
liquidscript-0.3.1 spec/fixtures/combination.generate.yml
liquidscript-0.3.0 spec/fixtures/combination.generate.yml