summaryrefslogtreecommitdiff
path: root/javascript/videojs/src/js/utils/dom-data.js
blob: 43cf1a915e0307361b18c4918b999c41232084ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
 * @file dom-data.js
 * @module dom-data
 */

/**
 * Element Data Store.
 *
 * Allows for binding data to an element without putting it directly on the
 * element. Ex. Event listeners are stored here.
 * (also from jsninja.com, slightly modified and updated for closure compiler)
 *
 * @type {Object}
 * @private
 */
export default new WeakMap();