【问题标题】:Is the helpers included in dust-full-1.2.0.js?助手是否包含在dust-full-1.2.0.js 中?
【发布时间】:2013-03-15 16:50:03
【问题描述】:

我认为 helpers 包含在dust-full-1.2.0.js 文件中,但是当我尝试使用一个时出现错误:

与:{@select key=P_Brand} Ok {/select}

从控制台:

未捕获的类型错误:无法读取未定义的属性“选择”-dust-full-1.2.0.js:523

还有:{@if cond="{P_Brand}"} Ok {/if}

从控制台:

未捕获的类型错误:无法读取未定义的属性“if”-dust-full-1.2.0.js:523

是否包含在内?或者我用错了……

感谢您的宝贵时间

【问题讨论】:

    标签: javascript linkedin helpers dust.js


    【解决方案1】:

    helpers 不包含在dust-full 或dust-core 中。它们可以在这里找到:https://github.com/linkedin/dustjs-helpers

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-04-24
      • 2020-03-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多