Sha256: ebfaec82f1b7128002a957424fbf8c8d0a7d819342707e9353423ff9ac70651f

Contents?: true

Size: 621 Bytes

Versions: 9

Compression:

Stored size: 621 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, Thing, SomeModule;
  Test = require("some_module/test");
  SomeModule = {};
  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

9 entries across 9 versions & 1 rubygems

Version Path
liquidscript-0.2.1 spec/fixtures/combination.generate.yml
liquidscript-0.2.0 spec/fixtures/combination.generate.yml
liquidscript-0.1.5 spec/fixtures/combination.generate.yml
liquidscript-0.1.4 spec/fixtures/combination.generate.yml
liquidscript-0.1.3 spec/fixtures/combination.generate.yml
liquidscript-0.1.2 spec/fixtures/combination.generate.yml
liquidscript-0.1.1 spec/fixtures/combination.generate.yml
liquidscript-0.1.0 spec/fixtures/combination.generate.yml
liquidscript-0.0.1 spec/fixtures/combination.generate.yml