UNPKG

charlike

Version:

Small, fast, simple and streaming project scaffolder for myself, but not only. Supports hundreds of template engines through the @JSTransformers API or if you want custom `render` function passed through options

13 lines (9 loc) 257 B
'use strict'; var d = require('../'); module.exports = function (t, a) { var o = Object.defineProperties({}, t({ bar: d(function () { return this === o; }), bar2: d(function () { return this; }) })); a.deep([(o.bar)(), (o.bar2)()], [true, o]); };