Tone.js/Tone/shim/OscillatorNode.js
tambien 5027277360 all modules are relative paths
simplifies deep references to individual files
2018-08-26 22:29:17 -04:00

12 lines
353 B
JavaScript

define(["../core/Tone"], function(Tone){
if (Tone.supported){
if (!OscillatorNode.prototype.setPeriodicWave){
OscillatorNode.prototype.setPeriodicWave = OscillatorNode.prototype.setWaveTable;
}
if (!AudioContext.prototype.createPeriodicWave){
AudioContext.prototype.createPeriodicWave = AudioContext.prototype.createWaveTable;
}
}
});