Sha256: 3732900f6978cf0044c449664d42312a5322c24a4e713959fec17db0250703ef
Contents?: true
Size: 501 Bytes
Versions: 14
Compression:
Stored size: 501 Bytes
Contents
module Ruby2JS class Converter # (taglit # (arg :tag) # (dstr) handle :taglit do |tag, *children| begin # disable autobinding in tag literals save_autobind, @autobind = @autobind, false if es2015 put tag.children.first parse_all(*children, join: '') else parse @ast.updated(:send, [nil, tag.children.last, *children]) end ensure @autobind = save_autobind end end end end
Version data entries
14 entries across 14 versions & 1 rubygems