Skip to content

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

Open

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions