• Rafael Weinstein's avatar
    Change how events are handled in Effen · bd7603bd
    Rafael Weinstein authored
    This patch removes the mutable API to event handling (Nodes no longer have a events object with which to add listeners).
    
    Instead, a new (non-Render) Node is introduced: EventTarget. This node represents a location in the Effen tree which can handle events as they bubble.
    
    Note that this also changes the implementation to use event delegation (one set of listeners at the sky.document level) rather than direct listeners on leaf nodes.
    
    R=abarth@chromium.org
    
    Review URL: https://codereview.chromium.org/1019633004
    bd7603bd
Name
Last commit
Last update
..
color Loading commit data...
flights Loading commit data...
fn Loading commit data...
input Loading commit data...
stocks-fn Loading commit data...
terminal Loading commit data...
widgets-fn Loading commit data...
home.sky Loading commit data...
spinning-square.sky Loading commit data...
touch-demo.sky Loading commit data...