First working version of fully automatic uploader
This commit is contained in:
parent
04dc373b1e
commit
e922768f99
21 changed files with 342 additions and 106 deletions
|
@ -289,6 +289,7 @@ export class UIEventSource<T> {
|
|||
|
||||
const stack = new Error().stack.split("\n");
|
||||
const callee = stack[1]
|
||||
|
||||
const newSource = new UIEventSource<J>(
|
||||
f(this.data),
|
||||
"map(" + this.tag + ")@"+callee
|
||||
|
@ -298,7 +299,7 @@ export class UIEventSource<T> {
|
|||
newSource.setData(f(self.data));
|
||||
}
|
||||
|
||||
this.addCallbackAndRun(update);
|
||||
this.addCallback(update);
|
||||
for (const extraSource of extraSources) {
|
||||
extraSource?.addCallback(update);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue