From 7ba93e8e298224b477739bb573dca15bb1b6d86d Mon Sep 17 00:00:00 2001 From: Hugh Rawlinson Date: Thu, 27 May 2021 18:36:29 +0200 Subject: [PATCH] refactor(export): remove manual window export 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 --- src/main.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.js b/src/main.js index d6fdf848..48b8ed8d 100644 --- a/src/main.js +++ b/src/main.js @@ -328,5 +328,3 @@ var prepareSignalWithSpectrum = function ( * @type {Meyda} */ export default Meyda; - -if (typeof window !== "undefined") window.Meyda = Meyda;