diff --git a/CHANGELOG.md b/CHANGELOG.md index 6df3cba..4429010 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +1.1.1 / WIP +------------------ + +- Fixed `Ruler.after()` method. +- Simplified loose/tight rendering. + + 1.1.0 / 2014-10-20 ------------------ diff --git a/lib/ruler.js b/lib/ruler.js index 151ff1e..38a3803 100644 --- a/lib/ruler.js +++ b/lib/ruler.js @@ -132,7 +132,7 @@ Ruler.prototype.after = function (name, fn, altNames) { if (index === -1) { throw new Error('Parser rule not found: ' + name); } - this.rules.splice(index + 1, 0, fn); + this.rules.splice(index + 1, 0, rule); } this.compile();