Tone.js/grunt/fragments/before.frag
2015-02-21 14:04:20 -05:00

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);
}