Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

52 Zeilen
2.0KB

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