Version: 0.0.00.0.10.1.00.2.00.3.00.3.10.3.20.3.30.4.10.5.01.0.01.0.11.1.01.2.01.2.11.2.21.3.01.3.11.3.21.3.3
module.exports = compile
function compile(html) {
return function(data) {
var out = html
data = data || {}
Object.keys(data).forEach(function(key) {
out = out.replace('<!-- @@' + key + ' -->', data[key])
})
return out
}