Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

53 строки
2.1KB

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