开发者

JavaScript / Dojo template for JSON [duplicate]

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜