Skip to content

Commit

Permalink
explicitely define window.Waves
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Ruf committed Dec 11, 2017
1 parent 6ba6481 commit a440f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/waves.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}

Expand Down

0 comments on commit a440f0d

Please sign in to comment.