mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-17 09:08:10 +00:00
11 lines
246 B
JavaScript
11 lines
246 B
JavaScript
(function (root) {
|
|
"use strict";
|
|
var Tone;
|
|
//constructs the main Tone object
|
|
function MainModule(func){
|
|
Tone = func();
|
|
}
|
|
//invokes each of the modules with the main Tone object as the argument
|
|
function ToneModule(func){
|
|
func(Tone);
|
|
}
|