Sha256: 3b66ad45680e2d878353e8582f2f52b467ca2b85f208fbdbceb7fb7c9c142c8f
Contents?: true
Size: 626 Bytes
Versions: 6
Compression:
Stored size: 626 Bytes
Contents
data: | Test = require("assert") module SomeModule { class Thing { initialize: -> { this.test = new Test() } do: (thing)-> { return this.test.do(thing) } } } compiled: | var Test, SomeModule, Thing; Test = require("assert"); 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
6 entries across 6 versions & 1 rubygems