LivelyKernel / lively4-core

A Self-supporting, Web-based Development Environment
https://lively-kernel.org/lively4/lively4-core/start.html
MIT License
77 stars 25 forks source link

AExprs do not react on Data Structure changes #387

Open onsetsu opened 5 years ago

onsetsu commented 5 years ago

e.g. the following code is expected to notify once:

var set = new Set([1,2,3])
var ae = aexpr(()=> set)
ae.onChange(v => lively.notify(v))
set.add(5)
ae.dependencies().all()