cssmagic / underscore-template

More APIs for Underscore's template engine.
10 stars 3 forks source link

需要让 `.add()` API 支持预编译的模板函数 #27

Open cssmagic opened 8 years ago

cssmagic commented 8 years ago

目前 .add() API 只能定义模板字符串。当后端提供模板的预编译服务时,就需要 .add() 方法接受以模板函数的方式来定义模板。

不过与此同时,需要把后端的预编译服务写出来,以配合测试。