These are chat archives for codexa/firetext

3rd
Jan 2015
Joshua Smith
@joshua-s
Jan 03 2015 03:14
Oh, I understand. The actions would no longer be defined in the markup. Only the variables would be defined?
Daniel Huigens
@twiss
Jan 03 2015 03:14
Yep, for instance.
Joshua Smith
@joshua-s
Jan 03 2015 03:43
It would definitely have a performance benefit
Daniel Huigens
@twiss
Jan 03 2015 03:46
Because we don't call that function every click? Good point, hadn't thought of that :p
If we put the variables on the elements, would we still have to do that loop at the point you linked?
Joshua Smith
@joshua-s
Jan 03 2015 03:48
Yeah. We wouldn't be constantly intercepting every click, submit, keypress, mousedown, focus, blur, or gesture event across all elements at any given time.
Daniel Huigens
@twiss
Jan 03 2015 03:49
Oh right, and yes.
Joshua Smith
@joshua-s
Jan 03 2015 03:50
Hmm, we might still need to do that
Or, would event bubbling negate the need for it?
Daniel Huigens
@twiss
Jan 03 2015 03:52
Think so, or do we still need it when manually calling processActions?
In any case, we should just check everything still works afterwords.
Joshua Smith
@joshua-s
Jan 03 2015 03:52
Definitely
Daniel Huigens
@twiss
Jan 03 2015 03:55
Do you want me to close #254?
Joshua Smith
@joshua-s
Jan 03 2015 03:56
Sure. I thought I had closed it...