From 23b51a1708e257b5962c0179a818513221ad98b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 22 Sep 2021 09:40:54 +0200 Subject: HTML5: Fix minification error with Emscripten 1.39.9 It used an old vendored version of acorn.js which seems to choke on this trailing comma. This is not a problem for more recent Emscripten versions. We disable the `comma-dangle` check in ESLint to prevent this issue. --- platform/javascript/js/libs/library_godot_audio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/javascript/js') diff --git a/platform/javascript/js/libs/library_godot_audio.js b/platform/javascript/js/libs/library_godot_audio.js index f6010fd12a..6cbb0567f4 100644 --- a/platform/javascript/js/libs/library_godot_audio.js +++ b/platform/javascript/js/libs/library_godot_audio.js @@ -229,7 +229,7 @@ const GodotAudioWorklet = { 'godot-processor', { 'outputChannelCount': [channels], - }, + } ); return Promise.resolve(); }); -- cgit v1.2.3