开发者

JavaScript / Dojo template for JSON [duplicate]

开发者 https://www.devze.com 2023-03-08 06:59 出处:网络
This question already has answers开发者_高级运维 here: Closed 11 years ago. Possible Duplicate: Good Javascript template engine to work with JSON
This question already has answers开发者_高级运维 here: Closed 11 years ago.

Possible Duplicate:

Good Javascript template engine to work with JSON

I'm searching for a JavaScript / Dojo template to be used with JSON.


You could use Mustache, which is a standalone template lib. Though it's based on logicless templating. https://github.com/janl/mustache.js

It has a Dojo wrapper as well.


There's also dojox.dtl (not very well maintained ATM) and dojo.replace for doing simple string substitutions.

0

精彩评论

暂无评论...
验证码 换一张
取 消