nl_tokens: Applies { @link module : evented~EventedMixin|EventedMixin } to a target object .
pl_tokens: function evented ( target ) { var options = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : { } ; var eventBusKey = options . eventBusKey ; // Set or create the eventBusEl_. if ( eventBusKey ) { if ( ! <mask> [ eventBusKey ] . nodeName ) { throw new Error ( 'The eventBusKey "' + eventBusKey + '" does not refer to an element.' ) ; } target . eventBusEl_ = target [ eventBusKey ] ; } else { target . eventBusEl_ = createEl ( 'span' , { className : 'vjs-event-bus' } ) ; } assign ( target , EventedMixin ) ; // When any evented object is disposed, it removes all its listeners. target . on ( 'dispose' , function ( ) { return target . off ( ) ; } ) ; return target ; }