From: Ardis Lu Date: Sun, 26 Mar 2023 04:26:27 +0000 (-0700) Subject: Delete confusing comments X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=6f082fdb05b1c818b66ed354837e282528ced390;p=4-byte-gen Delete confusing comments --- diff --git a/index.html b/index.html index 8572938..86c50f8 100644 --- a/index.html +++ b/index.html @@ -280,7 +280,7 @@ /* UI */ - // Parse code input and update state to set the new functions. This is the only function that modifies state. + // Parse code input and update state to set the new functions function setState(code) { state.clear(); @@ -323,7 +323,6 @@ }); } - // Retain old state if new state is empty if (state.size === 0) { status.textContent = 'No Solidity functions were found. Is the input valid Solidity code?'; return;