使用方法:

{{= }} 赋值

{{ }} 表达式

{{~ }}数组

{{? }} if判断

调用方式:

var tmpText = doT.template(模板);
tmpText(数据源);

示例: http://olado.github.io/doT/index.html