Skip to content

Commit

Permalink
refactor(export): remove manual window export
Browse files Browse the repository at this point in the history
We were manually putting the Meyda object on the window, if it existed. Our bundler does this for
us, so we don't need to do it. This commit removes that line.

fix #831
  • Loading branch information
hughrawlinson committed May 27, 2021
1 parent f164fe6 commit 7ba93e8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,5 +328,3 @@ var prepareSignalWithSpectrum = function (
* @type {Meyda}
*/
export default Meyda;

if (typeof window !== "undefined") window.Meyda = Meyda;

0 comments on commit 7ba93e8

Please sign in to comment.