From 36f081847d560edcf2018f7c80dbf56dabeaa8ba Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Mon, 15 Jan 2024 20:29:14 -0800 Subject: [PATCH] Expand strict mode criteria --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index cc92831..5774067 100644 --- a/index.html +++ b/index.html @@ -259,7 +259,7 @@ if (line === '') { continue; } - if (line.substring(0, 8) === 'contract' || line.substring(0, 17) === 'abstract contract') { + if (line.substring(0, 15) === 'pragma solidity' || line.substring(0, 8) === 'contract' || line.substring(0, 17) === 'abstract contract') { strict = true; continue; } -- 2.47.3