Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

57 řádky
2.1KB

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