docs/vendor.js
function wrapListenerWithDirtyAndDefault(view, listenerFn) {
    return function wrapListenerIn_markViewDirty(e) {
        markViewDirty(view);
        if (listenerFn(e) === false) {
            e.preventDefault();
            // Necessary for legacy browsers that don't support preventDefault (e.g. IE)
            e.returnValue = false;
        }
    };
}
function wrapListenerWithDirtyAndDefault(view, listenerFn) {
    return function wrapListenerIn_markViewDirty(e) {
        markViewDirty(view);
        if (listenerFn(e) === false) {
            e.preventDefault();
            // Necessary for legacy browsers that don't support preventDefault (e.g. IE)
            e.returnValue = false;
        }
    };
}
function wrapListenerWithDirtyAndDefault ( view , listenerFn ) { return function wrapListenerIn_markViewDirty ( e ) { markViewDirty ( view ) ; if ( listenerFn ( e ) === false ) { e . preventDefault ( ) ; // Necessary for legacy browsers that don't support preventDefault (e.g. IE) e . returnValue = false ; } } ; }
Wraps an event listener so its host view and its ancestor views will be marked dirty
whenever the event fires. Also wraps with preventDefault behavior.
Wraps an event listener so its host view and its ancestor views will be marked dirty whenever the event fires . Also wraps with preventDefault behavior .