Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: janl/mustache.js Loading
base: v4.0.1
Choose a base ref
...
head repository: janl/mustache.js Loading
compare: v4.1.0
Choose a head ref
  • 14 commits
  • 14 files changed
  • 6 contributors

Commits on Apr 8, 2020

  1. docs: Fix simple typo, skiped -> skipped (#749)

    There is a small typo in test/mustache-spec-test.js.
    
    Should read `skipped` rather than `skiped`.
    timgates42 committed Apr 8, 2020
    Configuration menu
    Copy the full SHA
    b747b92 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2020

  1. Update deno version from v0.21 -> v1.0.0 in usage tests

    Because it seems the standard library for v0.21 that was used in the
    usage tests before has been removed, it returns 404 now..
    phillipj committed May 16, 2020
    7 Configuration menu
    Copy the full SHA
    65af14d View commit details
    Browse the repository at this point in the history
  2. Optimize Writer.prototype.escapedValue for numbers (#754)

    These changes optimizes the performance of escaping number
    values, by not passing them through the ordinary HTML escaping
    that is done on string values.
    urain39 committed May 16, 2020
    Configuration menu
    Copy the full SHA
    4dc00b8 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2020

  1. Add .idea to .gitignore

    friederbluemle authored and phillipj committed May 31, 2020
    Configuration menu
    Copy the full SHA
    3182bd1 View commit details
    Browse the repository at this point in the history
  2. Update and simplify package.json

    friederbluemle authored and phillipj committed May 31, 2020
    Configuration menu
    Copy the full SHA
    a7f1c3d View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2020

  1. readme: sections can be rendered 0 times

    If the key is false or empty
    piec authored and phillipj committed Jun 22, 2020
    Configuration menu
    Copy the full SHA
    05a8345 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4b7908f View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2020

  1. Modify build command so that mustache.js can be built on Windows

    Windows shell does not recognize 'single quotes' the same way as bash. The 'single quotes' in the build command have been changed to "double quotes" instead.
    pineapplemachine authored and phillipj committed Oct 22, 2020
    Configuration menu
    Copy the full SHA
    eb523bd View commit details
    Browse the repository at this point in the history
  2. Fix eslint failure in test/partial-test.js

    The linter enforces 'single quotes' but two strings in this test file were written using "double quotes". This issue was causing tests to fail.
    pineapplemachine authored and phillipj committed Oct 22, 2020
    Configuration menu
    Copy the full SHA
    67eb95c View commit details
    Browse the repository at this point in the history
  3. Render function now recognizes a config object argument

    If an object is provided for what used to be the `tags` argument instead of an array, then the object is treated as a "config" object. A config object can have a `tags` attribute which behaves the same as the `tags` argument, and it can also optionally have an `escape` argument that is used for providing a custom escape function for that render call. The rationale for this addition is that providing an escape function here, when rendering a template, is a safer pattern for specifying an escape function than modifying the global mustache.escape attribute when a project may need to use mustache to render more than just one kind of content, e.g. both HTML and Latex templates in the same project.
    pineapplemachine authored and phillipj committed Oct 22, 2020
    Configuration menu
    Copy the full SHA
    9891d4f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    37fdf81 View commit details
    Browse the repository at this point in the history
  5. Fix behavior when rendering lambda sections & add regression test

    The `render` argument passed to a `function (text, render)` lambda function was not accounting for custom tags or other configuration. This issue has been fixed and a regression test has been added for this case.
    pineapplemachine authored and phillipj committed Oct 22, 2020
    Configuration menu
    Copy the full SHA
    862e497 View commit details
    Browse the repository at this point in the history
  6. 1 Configuration menu
    Copy the full SHA
    224fe3a View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2020

  1. 🚢 bump to version 4.1.0

    phillipj committed Dec 5, 2020
    Configuration menu
    Copy the full SHA
    67c39b8 View commit details
    Browse the repository at this point in the history
Loading