MyGit

v2.7.2

linkedin/dustjs

版本发布时间: 2015-06-10 05:08:49

linkedin/dustjs最新发布版本:v3.0.1(2021-12-30 02:22:21)

Notable Changes

Filters

Dust filter functions previously took one argument, the string to filter. They now accept a second argument, which is the current context.

Helpers

Dust helpers can now return primitives.

Helpers act like references or sections depending on if they have a body. When they have no body, they act like a reference and look in params.filters for filters to use. When they have a body, they act like a section. You can return thenables and streams normally.

{@return value="" filters="|s" /} 
{@return value=""}{.} World{/return}

相关地址:原始地址 下载(tar) 下载(zip)

查看:2015-06-10发行的版本