jan
Loading Heatmap…

jan synced commits to master at jan/mustache.js from mirror

  • 972fd2b27a Makes README.md examples more convenient (#812)

2 years ago

jan pushed to main at jan/jans_shell_utils

2 years ago

jan pushed to main at jan/jans_shell_utils

  • 2bd1e20617 doc: add fancy code comment for multi-pip expression

2 years ago

jan pushed to main at jan/jans_shell_utils

2 years ago

jan pushed to main at jan/jans_shell_utils

2 years ago

jan pushed to main at jan/jans_shell_utils

2 years ago

jan pushed to main at jan/jans_shell_utils

2 years ago

jan synced new reference v4.2.0 to jan/mustache.js from mirror

3 years ago

jan synced new reference v4.1.0 to jan/mustache.js from mirror

3 years ago

jan synced new reference remove-build-output-from-git to jan/mustache.js from mirror

3 years ago

jan synced commits to master at jan/mustache.js from mirror

  • 550d1da9e3 Fix broken link in README.md (#782) Currently links to https://mustache.github.com/ lead the user to a 404 page. With this correction they will be linked to https://mustache.github.io that is the expected page.
  • e90b2a9aeb Run CommonJS/ESM usage tests on more Node.js versions (#779) As it's very interesting to see how the package works for different major versions of Node.js, not just 12.x or 13.x as before.
  • e53a6e8cd2 Fix missing semicolon in `test/cli-test.js` (#777) Co-authored-by: JUAN RAFAEL MEJIA LAGUNA <juan.mejia@di.unanleon.edu.ni>
  • af216b0ce7 Include linting of `test/*.js` in `npm run test-lint` script Had obviously been forgotten, but those test files should have been part of the ordinary lint phase. The fact that we had forgotten to lint these files, allowed a missing semi-colon to sneak into `./test/cli-test.js` file. Refs https://github.com/janl/mustache.js/pull/777
  • edc988b7d5 Improve usage example in README.md (#778) By showing explicitly how/where `Mustache` comes from in that specific scenario, where CommonJS is assume to be available, either provided by Node.js or a build tool like webpack etc. For the record, it could also be `import` if the using project uses ES Modules, as we've recently exposed native ES Modules support as well.
  • Compare 27 commits »

3 years ago

jan synced new reference 8-as-legacy to jan/mustache.js from mirror

3 years ago

jan synced commits to master at jan/mustache.js from mirror

  • 224fe3a23e Use outstanding isArray function in new render config object code
  • 862e497c25 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.
  • 37fdf8163c Add test coverage for new render config object parameter
  • 9891d4f40a 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.
  • 67eb95cf5f 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.
  • Compare 6 commits »

4 years ago

jan synced commits to master at jan/mustache.js from mirror

4 years ago

jan synced commits to master at jan/mustache.js from mirror

4 years ago

jan synced commits to master at jan/mustache.js from mirror

  • 4dc00b8a9c 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.
  • 65af14d1e0 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..
  • Compare 2 commits »

4 years ago

jan synced commits to master at jan/mustache.js from mirror

  • b747b922df docs: Fix simple typo, skiped -> skipped (#749) There is a small typo in test/mustache-spec-test.js. Should read `skipped` rather than `skiped`.

4 years ago

jan synced new reference v4.0.1 to jan/mustache.js from mirror

4 years ago

jan synced commits to master at jan/mustache.js from mirror

4 years ago