摘要: 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 阅读全文
posted @ 2013-01-20 10:20 疾行の亚索 阅读(657) 评论(0) 推荐(0) 编辑
摘要: 1.先定义转义符,因为默认的转义符<%=%>与jsp的冲突_.templateSettings={interpolate:/\{\{(.+?)\}\}/g};2.在页面编写一个模版<scripttype="text/template"id="detailedBar-template"><divclass='title'><spanclass='label'>本次消费</span><spanclass='numOfDinner'>{{nu 阅读全文
posted @ 2013-01-20 10:18 疾行の亚索 阅读(918) 评论(0) 推荐(0) 编辑