Skip to content

Commit

Permalink
Fix order of arguments for PluginClass.constructor (katspaugh#1472)
Browse files Browse the repository at this point in the history
  • Loading branch information
higuri authored and thijstriemstra committed Oct 9, 2018
1 parent 463f887 commit 3b24bc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wavesurfer.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ class PluginClass {
/**
* Construct the plugin
*
* @param {Object} ws The wavesurfer instance
* @param {Object} params={} The plugin params (specific to the plugin)
* @param {Object} ws The wavesurfer instance
*/
constructor(ws, params) {}
constructor(params, ws) {}
/**
* Initialise the plugin
*
Expand Down

0 comments on commit 3b24bc6

Please sign in to comment.