Skip to content

Commit

Permalink
chore(*): prepare release 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Dec 12, 2014
1 parent 7d6be6d commit 580fe94
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dist/amd/syntax-interpreter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions dist/commonjs/syntax-interpreter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
5 changes: 4 additions & 1 deletion dist/es6/syntax-interpreter.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ export class SyntaxInterpreter {
return new ListenerExpression(
this.eventManager,
attrName,
this.parser.parse(attrValue)
this.parser.parse(attrValue),
false,
true
);
}

Expand All @@ -126,6 +128,7 @@ export class SyntaxInterpreter {
this.eventManager,
attrName,
this.parser.parse(attrValue),
true,
true
);
}
Expand Down
9 changes: 9 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 580fe94

Please sign in to comment.