Explanation of [removed] … [removed]

前端 未结 7 1133
隐瞒了意图╮
隐瞒了意图╮ 2020-11-22 10:05

I just stumbled upon something I\'ve never seen before. In the source of Backbone.js\'s example TODO application (Backbone TODO Example) they had their templates inside a

7条回答
  •  情书的邮戳
    2020-11-22 10:45

    It's legit and very handy!

    Try this:

    
    
    

    Several Javascript templating libraries use this technique. Handlebars.js is a good example.

提交回复
热议问题