Fix error in toneJS library
This commit is contained in:
		| @@ -37,10 +37,7 @@ export var SampleLibrary = { | ||||
|     var i; | ||||
|     for (i = 0; i <= this.list.length - 1; i++) { | ||||
|       for (var property in this[this.list[i]]) { | ||||
|         this[this.list[i]][property] = this[this.list[i]][property].replace( | ||||
|           this.ext, | ||||
|           newExt, | ||||
|         ); | ||||
|         this[this.list[i]][property] = this[this.list[i]][property].replace(this.ext, newExt); | ||||
|       } | ||||
|     } | ||||
|     this.ext = newExt; | ||||
| @@ -288,7 +285,7 @@ export var SampleLibrary = { | ||||
|     D5: "D5.[mp3|ogg]", | ||||
|     "D#2": "Ds2.[mp3|ogg]", | ||||
|     "D#3": "Ds3.[mp3|ogg]", | ||||
|     "D#4": "Ds3.[mp3|ogg]", | ||||
|     "D#4": "Ds4.[mp3|ogg]", | ||||
|     E2: "E2.[mp3|ogg]", | ||||
|     E3: "E3.[mp3|ogg]", | ||||
|     E4: "E4.[mp3|ogg]", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user