nl_tokens: Creates an instance of this class .
pl_tokens: function Plugin ( player ) { classCallCheck ( this , Plugin ) ; if ( this . constructor === Plugin ) { throw new Error ( 'Plugin must be sub-classed; not directly instantiated.' ) ; } this . player = player ; // Make this object evented, but remove the added `trigger` method so we // use the prototype version instead. evented ( this ) ; <mask> this . trigger ; stateful ( this , this . constructor . defaultState ) ; markPluginAsActive ( player , this . name ) ; // Auto-bind the dispose method so we can use it as a listener and unbind // it later easily. this . dispose = bind ( this , this . dispose ) ; // If the player is disposed, dispose the plugin. player . on ( 'dispose' , this . dispose ) ; }