diff --git a/src/standard/utils.html b/src/standard/utils.html index 93c5368254..3100413ef7 100644 --- a/src/standard/utils.html +++ b/src/standard/utils.html @@ -233,6 +233,11 @@ __eventCache: {}, + // NOTE: We optionally cache event objects for efficiency during high + // freq. opts. This option cannot be used for events which may have + // `stopPropagation` called on them. On Chrome and Safari (but not FF) + // if `stopPropagation` is called, the event cannot be reused. It does not + // dispatch again. _getEvent: function(type, bubbles, cancelable, useCache) { var event = useCache && this.__eventCache[type]; if (!event || ((event.bubbles != bubbles) ||