From a440f0d809c984131c8c869a314301c7b648c782 Mon Sep 17 00:00:00 2001 From: Daniel Ruf Date: Mon, 11 Dec 2017 17:13:29 +0100 Subject: [PATCH] explicitely define window.Waves --- src/js/waves.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/waves.js b/src/js/waves.js index d622919..d65f125 100644 --- a/src/js/waves.js +++ b/src/js/waves.js @@ -14,7 +14,7 @@ // to root via `this`. if (typeof define === 'function' && define.amd) { define([], function() { - return factory.apply(window); + return window.Waves = factory.apply(window); }); }