gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: fix javascript black magic


From: gnunet
Subject: [taler-wallet-core] branch master updated: fix javascript black magic
Date: Tue, 26 Mar 2024 22:35:29 +0100

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 39bdb6527 fix javascript black magic
39bdb6527 is described below

commit 39bdb65279ba7b8e0c4497a8034e9c35cabf77f2
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Tue Mar 26 17:53:43 2024 -0300

    fix javascript black magic
---
 packages/web-util/src/context/activity.ts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/packages/web-util/src/context/activity.ts 
b/packages/web-util/src/context/activity.ts
index 570729471..460c01096 100644
--- a/packages/web-util/src/context/activity.ts
+++ b/packages/web-util/src/context/activity.ts
@@ -22,6 +22,10 @@ export type Suscriber<Event> = (fn: Listener<Event>) => 
Unsuscriber;
 
 export class ActiviyTracker<Event> {
   private observers = new Array<Listener<Event>>();
+  constructor() {
+    this.notify = this.notify.bind(this)
+    this.subscribe = this.subscribe.bind(this)
+  }
   notify(data: Event) {
     this.observers.forEach((observer) => observer(data))
   }

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]