UNPKG

compound-ex4

Version:

Compound-ex4 - MVC framework for NodeJS (ExpressJs 4 version), fork compoundjs(https://github.com/1602/compound)

8 lines (6 loc) 208 B
'use strict'; module.exports = function (t, a) { t = t({ a: 'A', aa: 'B', ab: 'C', b: 'D', c: function () { return ++this.a; } }); a(t.call({ a: 0 }, ' %a%aab%abb%b\\%aa%ab%c%c '), ' ABbCbD%aaC12 '); };