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

56 строки
2.3KB

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