您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

44 行
1.7KB

  1. = HEAD
  2. * Don't require the original template to be passed to the rendering function
  3. when using compiled templates. This is still required when using higher-order
  4. functions in order to be able to extract the portion of the template
  5. that was contained by that section. Fixes #262.
  6. * Performance improvements.
  7. = 0.7.2 / 27 Dec 2012
  8. * Fixed a rendering bug (#274) when using nested higher-order sections.
  9. * Better error reporting on failed parse.
  10. * Converted tests to use mocha instead of vows.
  11. = 0.7.1 / 6 Dec 2012
  12. * Handle empty templates gracefully. Fixes #265, #267, and #270.
  13. * Cache partials by template, not by name. Fixes #257.
  14. * Added Mustache.compileTokens to compile the output of Mustache.parse. Fixes
  15. #258.
  16. = 0.7.0 / 10 Sep 2012
  17. * Rename Renderer => Writer.
  18. * Allow partials to be loaded dynamically using a callback (thanks
  19. @TiddoLangerak for the suggestion).
  20. * Fixed a bug with higher-order sections that prevented them from being
  21. passed the raw text of the section from the original template.
  22. * More concise token format. Tokens also include start/end indices in the
  23. original template.
  24. * High-level API is consistent with the Writer API.
  25. * Allow partials to be passed to the pre-compiled function (thanks
  26. @fallenice).
  27. * Don't use eval (thanks @cweider).
  28. = 0.6.0 / 31 Aug 2012
  29. * Use JavaScript's definition of falsy when determining whether to render an
  30. inverted section or not. Issue #186.
  31. * Use Mustache.escape to escape values inside {{}}. This function may be
  32. reassigned to alter the default escaping behavior. Issue #244.
  33. * Fixed a bug that clashed with QUnit (thanks @kannix).
  34. * Added volo support (thanks @guybedford).