UNPKG

cream-and-sugar

Version:

A deliciously functional syntax for JavaScript with native support for JSX

9 lines (7 loc) 198 B
import { compile, nodes, compileBody } from '../utils'; /* * Format call chain syntax. */ compile(nodes.ChainNode, function () { return this.body.map(each => each.compile(true)).join('.'); });