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