diff --git a/dist/amd/syntax-interpreter.js b/dist/amd/syntax-interpreter.js index caaba9b..ba221c2 100644 --- a/dist/amd/syntax-interpreter.js +++ b/dist/amd/syntax-interpreter.js @@ -87,11 +87,11 @@ define(["exports", "aurelia-binding"], function (exports, _aureliaBinding) { }; SyntaxInterpreter.prototype.trigger = function (resources, element, attrName, attrValue) { - return new ListenerExpression(this.eventManager, attrName, this.parser.parse(attrValue)); + return new ListenerExpression(this.eventManager, attrName, this.parser.parse(attrValue), false, true); }; SyntaxInterpreter.prototype.delegate = function (resources, element, attrName, attrValue) { - return new ListenerExpression(this.eventManager, attrName, this.parser.parse(attrValue), true); + return new ListenerExpression(this.eventManager, attrName, this.parser.parse(attrValue), true, true); }; SyntaxInterpreter.prototype.ref = function (resources, element, attrName, attrValue) { diff --git a/dist/commonjs/syntax-interpreter.js b/dist/commonjs/syntax-interpreter.js index 3978d2e..9fa11bb 100644 --- a/dist/commonjs/syntax-interpreter.js +++ b/dist/commonjs/syntax-interpreter.js @@ -86,11 +86,11 @@ var SyntaxInterpreter = (function () { }; SyntaxInterpreter.prototype.trigger = function (resources, element, attrName, attrValue) { - return new ListenerExpression(this.eventManager, attrName, this.parser.parse(attrValue)); + return new ListenerExpression(this.eventManager, attrName, this.parser.parse(attrValue), false, true); }; SyntaxInterpreter.prototype.delegate = function (resources, element, attrName, attrValue) { - return new ListenerExpression(this.eventManager, attrName, this.parser.parse(attrValue), true); + return new ListenerExpression(this.eventManager, attrName, this.parser.parse(attrValue), true, true); }; SyntaxInterpreter.prototype.ref = function (resources, element, attrName, attrValue) { diff --git a/dist/es6/syntax-interpreter.js b/dist/es6/syntax-interpreter.js index 4444741..934a36e 100644 --- a/dist/es6/syntax-interpreter.js +++ b/dist/es6/syntax-interpreter.js @@ -117,7 +117,9 @@ export class SyntaxInterpreter { return new ListenerExpression( this.eventManager, attrName, - this.parser.parse(attrValue) + this.parser.parse(attrValue), + false, + true ); } @@ -126,6 +128,7 @@ export class SyntaxInterpreter { this.eventManager, attrName, this.parser.parse(attrValue), + true, true ); } diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index 3d3e6e3..2e07029 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -1,3 +1,12 @@ +### 0.2.1 (2014-12-12) + + +#### Bug Fixes + +* **package:** update dependencies to latest ([b5379b2a](http://github.com/aurelia/templating-binding/commit/b5379b2ac85dd99796bba8e2388533daa5907fcb)) +* **syntax:** delegate and trigger now prevent default actions ([7d6be6d4](http://github.com/aurelia/templating-binding/commit/7d6be6d486ec210ce3ee0c22dcc72b057e8d2898)) + + ## 0.2.0 (2014-12-11) diff --git a/package.json b/package.json index 167bd0f..39475d5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-templating-binding", - "version": "0.2.0", + "version": "0.2.1", "description": "An implementation of the templating engine's Binding Language abstraction which uses a pluggable command syntax.", "keywords": [ "aurelia",