add comment.

This commit is contained in:
Steven Orvell 2015-11-05 14:33:28 -08:00
parent da71dfeb54
commit f2d5f44f3f

View File

@ -233,6 +233,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
__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) ||