mirror of
https://github.com/Tonejs/Tone.js
synced 2025-01-08 01:48:53 +00:00
666d8f96c1
gets rid of the problem of having the global ‘define’ left defined in the window which may have adverse effects on other AMD shim modules.
9 lines
No EOL
175 B
JavaScript
9 lines
No EOL
175 B
JavaScript
|
|
(function(root, undef) {
|
|
//leave no trace
|
|
//undefine 'define'
|
|
if (root.ToneDefinedDefine){
|
|
root.define = undef;
|
|
root.ToneDefinedDefine = undef;
|
|
}
|
|
}(this, undefined)); |