diff --git a/.travis.yml b/.travis.yml index efd82de1..ee8bff0b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,5 @@ node_js: - '5' - '4' - '0.12' -before_script: - - npm install -g gulp-cli -script: gulp +allowed_failures: + node_js: '0.12' diff --git a/README.md b/README.md index 7c708747..28893ca2 100644 --- a/README.md +++ b/README.md @@ -1202,7 +1202,7 @@ Return true if the given value is an even number. ### [{{ifNth}}](lib/comparison.js#L327) Conditionally renders a block if the remainder is zero when -`a` operand is divided by `b`. If an inverse block is specified +`b` operand is divided by `a`. If an inverse block is specified it will be rendered when the remainder is **not zero**. **Params** @@ -3345,4 +3345,4 @@ Released under the [MIT License](LICENSE). *** -_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on November 17, 2017._ \ No newline at end of file +_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on November 17, 2017._ diff --git a/appveyor.yml b/appveyor.yml index ebbad0a7..e0321d2a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,10 +2,13 @@ environment: matrix: # node.js + - nodejs_version: "9.0" - nodejs_version: "8.0" - nodejs_version: "7.0" - nodejs_version: "6.0" - nodejs_version: "5.0" + - nodejs_version: "4.0" + - nodejs_version: "0.12" # Install scripts. (runs after repo cloning) install: @@ -13,15 +16,12 @@ install: - ps: Install-Product node $env:nodejs_version # install modules - npm install - - npm install -g gulp-cli # Post-install test scripts. test_script: # Output useful info for debugging. - node --version - npm --version - # run tests - - gulp # Don't actually build. build: off diff --git a/lib/comparison.js b/lib/comparison.js index 0b404e9a..9bc7c821 100644 --- a/lib/comparison.js +++ b/lib/comparison.js @@ -313,7 +313,7 @@ helpers.ifEven = function(num, options) { /** * Conditionally renders a block if the remainder is zero when - * `a` operand is divided by `b`. If an inverse block is specified + * `b` operand is divided by `a`. If an inverse block is specified * it will be rendered when the remainder is **not zero**. * * @param {Number}