Showing 2 of 2 total issues
Function configure
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function configure(config) {
config.set(init);
if (process.env.TRAVIS) {
config.set({
Function play
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
play(arrayBuffer, options = {}) {
return new Promise((resolve) => {
this.audioContext.decodeAudioData(arrayBuffer, resolve);
})
.then((decodedAudioData) => new Promise((resolve) => {