Skip to content

需要增加一个 API 来输出推荐的模板设置 #28

@cssmagic

Description

@cssmagic
var templateConfig = {
	//compatible with ejs
	interpolate : /<%-([\s\S]+?)%>/g,
	escape      : /<%=([\s\S]+?)%>/g,

	//to avoid use `with` in compiled templates
	//see: https://github.com/cssmagic/blog/issues/4
	variable: 'data',
}
_.extend(_.templateSettings, templateConfig)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions