Sha256: 9b147f039512dcb8ce8bbc3f13c0096a249b18fdfc39db3800ea5d4a20ee6359
Contents?: true
Size: 465 Bytes
Versions: 46
Compression:
Stored size: 465 Bytes
Contents
module Ruby2JS class Converter # (prototype expr) # NOTE: prototype is a synthetic handle :prototype do |expr| begin @block_this, @block_depth = false, 0 prototype, @prototype = @prototype, true mark = output_location parse(expr) insert mark, "var self = this#{@sep}" if @block_this ensure @prototype = prototype @block_this, @block_depth = nil, nil end end end end
Version data entries
46 entries across 46 versions & 1 rubygems