摘要:
From:http://readystate4.com/2011/10/22/common-backbone-errors-and-what-they-mean/by:ReadyState4I’mabigfanofBackbone,theopen-sourceJavaScriptMVCframework.It’slightweight,extendable,hasanawesomeeventmodelthatallowsonetobindtochangesfromjustaboutanything–it’serrormessages,however,canbequitecryptic.Simp 阅读全文
摘要:
1.先定义转义符,因为默认的转义符<%=%>与jsp的冲突_.templateSettings={interpolate:/\{\{(.+?)\}\}/g};2.在页面编写一个模版<scripttype="text/template"id="detailedBar-template"><divclass='title'><spanclass='label'>本次消费</span><spanclass='numOfDinner'>{{nu 阅读全文