From efa776ffe0b486276ecca290bcb50a5c730a679f Mon Sep 17 00:00:00 2001 From: duart38 Date: Wed, 5 Aug 2020 14:03:27 +0200 Subject: [PATCH] bundle update --- Observe.bundle.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Observe.bundle.js b/Observe.bundle.js index 4447658..ef24a22 100644 --- a/Observe.bundle.js +++ b/Observe.bundle.js @@ -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) {