Published (unlisted)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Changed in target
{
-
viewof zoomLevel.addEventListener('input', updateDuration('zoomLevel')); viewof ageGroup.addEventListener('input', updateDuration('ageGroup'));
+
viewof zoomLevel.addEventListener('input', e => updateDuration('zoomLevel')); viewof ageGroup.addEventListener('input', e => updateDuration('ageGroup'));
}
Insert cell
Changed in target
updateDuration = function(s) { if (s == 'zoomLevel') {
-
duration = 0;
+
mutable duration = 0;
}
-
duration = 600;
+
else mutable duration = 600;
}
Insert cell
Changed in target
-
duration = 0
+
mutable duration = 0
Insert cell
Insert cell
Insert cell