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

11 лет назад
11 лет назад
11 лет назад
11 лет назад
12 лет назад
12 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. # Change Log
  2. All notable changes to this project will be documented in this file.
  3. This project adheres to [Semantic Versioning](http://semver.org/).
  4. ## [2.1.0] / 5 June 2015
  5. * Added license attribute to package.json, by @pgilad.
  6. * Minor changes to make mustache.js compatible with both WSH and ASP, by @nagaozen.
  7. * Improve CLI view parsing error, by @phillipj.
  8. * Bugfix for view context cache, by @phillipj.
  9. ## [2.0.0] / 27 Mar 2015
  10. * Fixed lookup not stopping upon finding `undefined` or `null` values, by @dasilvacontin.
  11. * Refactored pre-commit hook, by @dasilvacontin.
  12. ## [1.2.0] / 24 Mar 2015
  13. * Added -v option to CLI, by @phillipj.
  14. * Bugfix for rendering Number when it serves as the Context, by @phillipj.
  15. * Specified files in package.json for a cleaner install, by @phillipj.
  16. ## [1.1.0] / 18 Feb 2015
  17. * Refactor Writer.renderTokens() for better readability, by @phillipj.
  18. * Cleanup tests section in readme, by @phillipj.
  19. * Added JSHint to tests/CI, by @phillipj.
  20. * Added node v0.12 on travis, by @phillipj.
  21. * Created command line tool, by @phillipj.
  22. * Added *falsy* to Inverted Sections description in README, by @kristijanmatic.
  23. ## [1.0.0] / 20 Dec 2014
  24. * Inline tag compilation, by @mjackson.
  25. * Fixed AMD registration, volo package.json entry, by @jrburke.
  26. * Added spm support, by @afc163.
  27. * Only access properties of objects on Context.lookup, by @cmbuckley.
  28. ## [0.8.2] / 17 Mar 2014
  29. * Supporting Bower through a bower.json file.
  30. ## [0.8.1] / 3 Jan 2014
  31. * Fix usage of partial templates.
  32. ## [0.8.0] / 2 Dec 2013
  33. * Remove compile* writer functions, use mustache.parse instead. Smaller API.
  34. * Throw an error when rendering a template that contains higher-order sections and
  35. the original template is not provided.
  36. * Remove low-level Context.make function.
  37. * Better code readability and inline documentation.
  38. * Stop caching templates by name.
  39. ## [0.7.3] / 5 Nov 2013
  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. * Fixed a rendering bug (#274) when using nested higher-order sections.
  47. * Better error reporting on failed parse.
  48. * Converted tests to use mocha instead of vows.
  49. ## [0.7.1] / 6 Dec 2012
  50. * Handle empty templates gracefully. Fixes #265, #267, and #270.
  51. * Cache partials by template, not by name. Fixes #257.
  52. * Added Mustache.compileTokens to compile the output of Mustache.parse. Fixes
  53. #258.
  54. ## [0.7.0] / 10 Sep 2012
  55. * Rename Renderer => Writer.
  56. * Allow partials to be loaded dynamically using a callback (thanks
  57. @TiddoLangerak for the suggestion).
  58. * Fixed a bug with higher-order sections that prevented them from being
  59. passed the raw text of the section from the original template.
  60. * More concise token format. Tokens also include start/end indices in the
  61. original template.
  62. * High-level API is consistent with the Writer API.
  63. * Allow partials to be passed to the pre-compiled function (thanks
  64. @fallenice).
  65. * Don't use eval (thanks @cweider).
  66. ## [0.6.0] / 31 Aug 2012
  67. * Use JavaScript's definition of falsy when determining whether to render an
  68. inverted section or not. Issue #186.
  69. * Use Mustache.escape to escape values inside {{}}. This function may be
  70. reassigned to alter the default escaping behavior. Issue #244.
  71. * Fixed a bug that clashed with QUnit (thanks @kannix).
  72. * Added volo support (thanks @guybedford).
  73. [2.1.0]: https://github.com/janl/mustache.js/compare/v2.0.0...v2.1.0
  74. [2.0.0]: https://github.com/janl/mustache.js/compare/v1.2.0...v2.0.0
  75. [1.2.0]: https://github.com/janl/mustache.js/compare/v1.1.0...v1.2.0
  76. [1.1.0]: https://github.com/janl/mustache.js/compare/v1.0.0...v1.1.0
  77. [1.0.0]: https://github.com/janl/mustache.js/compare/0.8.2...v1.0.0
  78. [0.8.2]: https://github.com/janl/mustache.js/compare/0.8.1...0.8.2
  79. [0.8.1]: https://github.com/janl/mustache.js/compare/0.8.0...0.8.1
  80. [0.8.0]: https://github.com/janl/mustache.js/compare/0.7.3...0.8.0
  81. [0.7.3]: https://github.com/janl/mustache.js/compare/0.7.2...0.7.3
  82. [0.7.2]: https://github.com/janl/mustache.js/compare/0.7.1...0.7.2
  83. [0.7.1]: https://github.com/janl/mustache.js/compare/0.7.0...0.7.1
  84. [0.7.0]: https://github.com/janl/mustache.js/compare/0.6.0...0.7.0
  85. [0.6.0]: https://github.com/janl/mustache.js/compare/0.5.2...0.6.0