You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 年之前
12 年之前
13 年之前
13 年之前
13 年之前
13 年之前
13 年之前
13 年之前
13 年之前
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. 1.1.0 / 18 Feb 2015
  2. ==================
  3. * Refactor Writer.renderTokens() for better readability, by @phillipj.
  4. * Cleanup tests section in readme, by @phillipj.
  5. * Added JSHint to tests/CI, by @phillipj.
  6. * Added node v0.12 on travis, by @phillipj.
  7. * Created command line tool, by @phillipj.
  8. * Added *falsy* to Inverted Sections description in README, by @kristijanmatic.
  9. 1.0.0 / 20 Dec 2014
  10. ===================
  11. * Inline tag compilation, by @mjackson.
  12. * Fixed AMD registration, volo package.json entry, by @jrburke.
  13. * Added spm support, by @afc163.
  14. * Only access properties of objects on Context.lookup, by @cmbuckley.
  15. 0.8.2 / 17 Mar 2014
  16. ===================
  17. * Supporting Bower through a bower.json file.
  18. 0.8.1 / 3 Jan 2014
  19. ==================
  20. * Fix usage of partial templates.
  21. 0.8.0 / 2 Dec 2013
  22. ==================
  23. * Remove compile* writer functions, use mustache.parse instead. Smaller API.
  24. * Throw an error when rendering a template that contains higher-order sections and
  25. the original template is not provided.
  26. * Remove low-level Context.make function.
  27. * Better code readability and inline documentation.
  28. * Stop caching templates by name.
  29. 0.7.3 / 5 Nov 2013
  30. ==================
  31. * Don't require the original template to be passed to the rendering function
  32. when using compiled templates. This is still required when using higher-order
  33. functions in order to be able to extract the portion of the template
  34. that was contained by that section. Fixes #262.
  35. * Performance improvements.
  36. 0.7.2 / 27 Dec 2012
  37. ===================
  38. * Fixed a rendering bug (#274) when using nested higher-order sections.
  39. * Better error reporting on failed parse.
  40. * Converted tests to use mocha instead of vows.
  41. 0.7.1 / 6 Dec 2012
  42. ==================
  43. * Handle empty templates gracefully. Fixes #265, #267, and #270.
  44. * Cache partials by template, not by name. Fixes #257.
  45. * Added Mustache.compileTokens to compile the output of Mustache.parse. Fixes
  46. #258.
  47. 0.7.0 / 10 Sep 2012
  48. ===================
  49. * Rename Renderer => Writer.
  50. * Allow partials to be loaded dynamically using a callback (thanks
  51. @TiddoLangerak for the suggestion).
  52. * Fixed a bug with higher-order sections that prevented them from being
  53. passed the raw text of the section from the original template.
  54. * More concise token format. Tokens also include start/end indices in the
  55. original template.
  56. * High-level API is consistent with the Writer API.
  57. * Allow partials to be passed to the pre-compiled function (thanks
  58. @fallenice).
  59. * Don't use eval (thanks @cweider).
  60. 0.6.0 / 31 Aug 2012
  61. ===================
  62. * Use JavaScript's definition of falsy when determining whether to render an
  63. inverted section or not. Issue #186.
  64. * Use Mustache.escape to escape values inside {{}}. This function may be
  65. reassigned to alter the default escaping behavior. Issue #244.
  66. * Fixed a bug that clashed with QUnit (thanks @kannix).
  67. * Added volo support (thanks @guybedford).