Skip to content

Commit

Permalink
bundle update
Browse files Browse the repository at this point in the history
  • Loading branch information
duart38 committed Aug 5, 2020
1 parent 5a9d968 commit efa776f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Observe.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ System.register("Observe", [], function (exports_1, context_1) {
getHistory() {
return this.history;
}
bind(callback) {
bind(callback, once = false) {
let func = (e) => callback(e.detail);
addEventListener(this.eventID, func);
addEventListener(this.eventID, func, { once });
return func;
}
unBind(callback) {
Expand Down

0 comments on commit efa776f

Please sign in to comment.