From e23648e54500802ad0800b9d92b5d0b62dec76e7 Mon Sep 17 00:00:00 2001 From: Marco De Donno Date: Mon, 15 Oct 2018 21:17:05 +0200 Subject: [PATCH] Revert "Patch : if the conclusions are not mendarory, the update of the conclusions dont have to assert" This reverts commit 4ce9a65f809e30e79d5cf405e1c1eb6632fc1892. --- js/pianos4.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/pianos4.js b/js/pianos4.js index 382c36f..1229e1f 100644 --- a/js/pianos4.js +++ b/js/pianos4.js @@ -3300,10 +3300,8 @@ function Pianos4( params ) var onTutorDataAvailable = function( what, data ) { - if( !( what in tutorData ) ) - return; - log( 'Tutor data available: ' + what ); + assert( !( what in tutorData ) ); tutorData[ what ] = data; assert( Object.keys( tutorData ).length <= 2 ); -- GitLab