-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Comparing changes
Open a pull request
base repository: janl/mustache.js
base: v4.0.1
head repository: janl/mustache.js
compare: v4.1.0
- 14 commits
- 14 files changed
- 6 contributors
Commits on Apr 8, 2020
-
docs: Fix simple typo, skiped -> skipped (#749)
There is a small typo in test/mustache-spec-test.js. Should read `skipped` rather than `skiped`.
Configuration menu - View commit details
-
Copy full SHA for b747b92 - Browse repository at this point
Copy the full SHA b747b92View commit details
Commits on May 16, 2020
-
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..
7Configuration menu - View commit details
-
Copy full SHA for 65af14d - Browse repository at this point
Copy the full SHA 65af14dView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 4dc00b8 - Browse repository at this point
Copy the full SHA 4dc00b8View commit details
Commits on May 31, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3182bd1 - Browse repository at this point
Copy the full SHA 3182bd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7f1c3d - Browse repository at this point
Copy the full SHA a7f1c3dView commit details
Commits on Jun 22, 2020
-
readme: sections can be rendered 0 times
If the key is false or empty
Configuration menu - View commit details
-
Copy full SHA for 05a8345 - Browse repository at this point
Copy the full SHA 05a8345View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b7908f - Browse repository at this point
Copy the full SHA 4b7908fView commit details
Commits on Oct 22, 2020
-
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.
Configuration menu - View commit details
-
Copy full SHA for eb523bd - Browse repository at this point
Copy the full SHA eb523bdView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 67eb95c - Browse repository at this point
Copy the full SHA 67eb95cView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 9891d4f - Browse repository at this point
Copy the full SHA 9891d4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37fdf81 - Browse repository at this point
Copy the full SHA 37fdf81View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 862e497 - Browse repository at this point
Copy the full SHA 862e497View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 224fe3a - Browse repository at this point
Copy the full SHA 224fe3aView commit details
Commits on Dec 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 67c39b8 - Browse repository at this point
Copy the full SHA 67c39b8View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v4.0.1...v4.1.0