Permalink
Commits on Oct 17, 2017
  1. Add jsDelivr hits badge

    LukasDrgon committed with nknapp Oct 8, 2017
  2. Gracefully handle missing uglify-js dependency

    nknapp committed Oct 13, 2017
    closes #1391
    
    uglify-js is an optional dependency and should be treated as such.
    This commit gracefully handles MODULE_NOT_FOUND errors while loading
    uglify.
    
    - Check for existing uglify-js (and load uglify-js) only if minification
      was activated
    - Use "require.resolve" to check if uglify exists. Otherwise, a missing
      dependency of uglify-js would cause the same behavior as missing
      uglify-js. (Only a warning, no error)
    - The code to load and run uglify is put into a single for readability
      purposes
    - Tests use a mockup Module._resolveFilename to simulate the missing module.
      This function is used by both "require" and "require.resolve", so both
      are mocked equally.
Commits on Oct 6, 2017
  1. Extend compiler-api example by replacing child-compiler

    nknapp committed Aug 24, 2017
    closes #1376
  2. Update (C) year in the LICENSE file

    marado committed with nknapp Oct 5, 2017
    Welcome to 2017!
Commits on Aug 23, 2017
  1. Merge branch '4.x'

    nknapp committed Aug 23, 2017
  2. Fix build on Windows

    nknapp committed May 14, 2017
    Closes #1233
    
    - Handle path-separators properly. Use "path.sep" instead of "/".
      Or use "require.resolve()" if possible
    - Use "execFile" instead of "exec" to run the Handlebars executable.
      This prevents problems due to (missing) shell escaping.
    - Use explicit call to "node" in order to run the executable on Windows.
    - Add "appveyor"-CI in order to run regular tests on Windows.
Commits on Aug 17, 2017
  1. Fix broken header tag (markdown)

    barbeque committed with nknapp Aug 16, 2017
    The # was too close to the header text.
Commits on Aug 2, 2017
  1. Fix Commits links in release-notes

    radium-v committed with nknapp Jul 31, 2017
Commits on May 31, 2017
  1. Update README.markdown

    atomictag committed with nknapp May 30, 2017
    Add incremental-bars to the list of projects using Handlebars
Commits on May 21, 2017
  1. Merge branch '4.x'

    nknapp committed May 21, 2017
    # Conflicts:
    #	CONTRIBUTING.md
    #	lib/handlebars/compiler/compiler.js
    #	package.json
    #	spec/compiler.js
  2. Update jsfiddle-link to 4.0.10

    nknapp committed May 21, 2017
  3. v4.0.10

    nknapp committed May 21, 2017
  4. Update release notes

    nknapp committed May 21, 2017
  5. Replace "Object.assign" (not support in IE) by "util/extend"

    nknapp committed May 21, 2017
  6. v4.0.9

    nknapp committed May 21, 2017
  7. Update release notes

    nknapp committed May 21, 2017
  8. Handlebars.compile() does not modify "options" anymore

    nknapp committed May 18, 2017
    Fixes #1327
    
    - This commit creates a shallow copy of the "options" passed to
      Handlebars.compile() in order to prevent modifications
    - Note that "new Handlebars.Compiler().compile(..., options)" still
      modify the options object. This might change in the future, if
      anybody needs a fix for that.
Commits on May 14, 2017
  1. Merge branch '4.x'

    nknapp committed May 14, 2017
    # Conflicts:
    #	tasks/test.js
  2. Fix build in windows

    blikblum committed with nknapp Aug 21, 2016
    (cherry picked from commit 275ab37)
  3. Run integration test with `node handlebars -a ...` on Windows

    nknapp committed May 14, 2017
    Fixes #1233
    
    NodeJS files cannot be executed directly on Windows.
  4. Ensure LF line-edings in lexer-files (*.l)

    nknapp committed May 14, 2017
    Related to #1233
  5. Merge remote-tracking branch 'wycats/4.x' into wycats-master

    nknapp committed May 14, 2017
  6. Force LF line-endings for spec/artifacts

    nknapp committed May 13, 2017
    Fixes #1331
  7. Use istanbul/lib/cli.js instead of node_modules/.bin/istanbul

    nknapp committed May 13, 2017
    Fixes #1331
    
    Due to the way, "bin"-files are distributed into the node_modules/.bin
    directory on Windows, the task "test:cov" did not work on Windows.
    This commit uses the node-script directly.
Commits on May 13, 2017
Commits on May 12, 2017
  1. Merge branch '4.x' into wycats-master

    nknapp committed May 12, 2017
    # Conflicts:
    #	package.json
Commits on May 2, 2017
  1. v4.0.8

    nknapp committed May 2, 2017
  2. Update release notes

    nknapp committed May 2, 2017
  3. Allow partial-blocks to be executed without "options"

    nknapp committed May 2, 2017
    Closes #1341
    
    If the @partial-block is called as parameter of a helper (like in
    {{#if @partial-block}}...{{/if}}, the partialBlockWrapper is executed
    without "options"-parameter. It should still work in without an error
    in such a case.
Commits on Apr 30, 2017
  1. Bump version in master-branch to 5.0-alpha.1

    nknapp committed Apr 30, 2017
    This is in order to make sure that the master-branch version is not
    confused with the stable 4.x
Commits on Apr 29, 2017
  1. v4.0.7

    nknapp committed Apr 29, 2017