react-events.js
function _watchedEventsUnbindAll(keepRegisteredEvents, context) {
        var watchedEvents = getState('__watchedEvents', context);
        if (watchedEvents) {
            var data;
            for (var name in watchedEvents) {
                if (watchedEvents.hasOwnProperty(name)) {
                    data = watchedEvents[name];
                    var target = getTarget(data.target, context);
                    if (target) {
                        target.off(data.event, data.callback, data.context);
                    }
                }
            }
            if (!keepRegisteredEvents) {
                setState({
                    __watchedEvents: []
                }, context);
            }
        }
    }
function _watchedEventsUnbindAll(keepRegisteredEvents, context) {
        var watchedEvents = getState('__watchedEvents', context);
        if (watchedEvents) {
            var data;
            for (var name in watchedEvents) {
                if (watchedEvents.hasOwnProperty(name)) {
                    data = watchedEvents[name];
                    var target = getTarget(data.target, context);
                    if (target) {
                        target.off(data.event, data.callback, data.context);
                    }
                }
            }
            if (!keepRegisteredEvents) {
                setState({
                    __watchedEvents: []
                }, context);
            }
        }
    }
unbind all registered events from the model