These are chat archives for ractivejs/ractive

29th
Jul 2018
Chris Reeves
@evs-chris
Jul 29 2018 04:22
that was corner-case-y :smile:... so the b thing was because c was a global (no var/let/const), and the a thing was because you have to explicitly tell ractive to reuse a context completely with ctx.refire = true or it will automatically create one in the context of the current instance based on the one you pass in
Cerem Cem ASLAN
@ceremcem
Jul 29 2018 07:40
ah! aaaaah! the refire = true, how did I forget it?! that was the key problem, thank you. (the b problem is because of being a Livescript user (ls automatically declares varautomatically unless you assign a variable like b := something)
Cerem Cem ASLAN
@ceremcem
Jul 29 2018 08:33
...which has already solved my target problem. here we have "how to create super-components" example
kouts
@kouts
Jul 29 2018 14:05
@ceremcem you should create a reference for all these examples, maybe a github repo
Cerem Cem ASLAN
@ceremcem
Jul 29 2018 14:51
@kouts that's also my intention. they just reside in scada.js/doc/Ractive for now.