Sha256: e2105b7f0d5fd1a8fd52e573590e2f80b16be2a896b9cf14a491bc2adf20ee01
Contents?: true
Size: 683 Bytes
Versions: 7
Compression:
Stored size: 683 Bytes
Contents
data: | module Something { class Test { wee: -> { console.log(2) } initialize: -> { "this should be init" } this.test: -> { "class method!" } } } module.exports = Something compiled: | var Something, Test; Something = Something || {}; Test = Test || function Test() { if(this.initialize) { this.initialize.apply(this, arguments); } } Test.prototype.wee = function() { console.log(2); }; Test.prototype.initialize = function() { "this should be init"; }; Test.test = function() { "class method!"; }; Something.Test = Test; module.exports = Something;
Version data entries
7 entries across 7 versions & 1 rubygems