您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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