These are chat archives for jdubray/sam

8th
Jul 2017
Victor Noël
@victornoel
Jul 08 2017 09:53
@jdubray what is the role of actionsMount in your angular sample app? I don't get it :/
Jean-Jacques Dubray
@jdubray
Jul 08 2017 13:04
It looks like when you bind actions to HTML events, the actions need to be visible from window.xxx, I guess I could just add them to window. I am not a front-end developer so I many not have found the best way to solve that problem.
Victor Noël
@victornoel
Jul 08 2017 13:59
strange, I simply removed anything that had to do with this mount and the chart view seems to work the same...
Jean-Jacques Dubray
@jdubray
Jul 08 2017 14:14
thanks I'll check it
Victor Noël
@victornoel
Jul 08 2017 14:20
I'm playing with it, cleaning the code as I see fit, to simplify and clarify the structure, I will make a PR after if I feel like it could be useful :)
Victor Noël
@victornoel
Jul 08 2017 15:21
@jdubray is it me or the View object is not used at all in the angular sample? I suppose it is because the view is handled via subscriptions to the angular components and thus there is no render function that generate html like you would usually do in your samples
Jean-Jacques Dubray
@jdubray
Jul 08 2017 16:35
it's possible, I'll take a look later today. It would make sense.
Victor Noël
@victornoel
Jul 08 2017 18:03
@jdubray jdubray/sam-samples#4 hope this can be helpful :)