Streaming live at 10am (PST)

Js errors in visual studio


#1

Our developers encounter a lot of errors in the js output by webflow when used in visual studio. Any ideas why this happens?

Here’s a sampling of the type of errors…

Severity Code Description Project File Line Suppression State

Error no-extra-boolean-cast Redundant Boolean call. MyCompany C:\inetpub\wwwroot\MyCompany\MyWebsite\js\webflow.js 8
Warning semi-spacing Missing whitespace after semicolon. MyCompany C:\inetpub\wwwroot\MyCompany\MyWebsite\js\webflow.js 8
Warning semi-spacing Missing whitespace after semicolon. MyCompany C:\inetpub\wwwroot\MyCompany\MyWebsite\js\webflow.js 8

Warning semi Missing semicolon. MyCompany C:\inetpub\wwwroot\MyCompany\MyWebsite\js\webflow.js 8
Warning semi Missing semicolon. MyCompany C:\inetpub\wwwroot\MyCompany\MyWebsite\js\webflow.js 8
Warning semi Missing semicolon. MyCompany C:\inetpub\wwwroot\MyCompany\MyWebsite\js\webflow.js 8

Error eqeqeq Expected ‘===’ and instead saw ‘==’. MyCompany C:\inetpub\wwwroot\MyCompany\MyWebsite\js\webflow.js 8
Error eqeqeq Expected ‘===’ and instead saw ‘==’. MyCompany C:\inetpub\wwwroot\MyCompany\MyWebsite\js\webflow.js 8
Error eqeqeq Expected ‘===’ and instead saw ‘==’. MyCompany C:\inetpub\wwwroot\MyCompany\MyWebsite\js\webflow.js

Error eqeqeq Expected ‘!==’ and instead saw ‘!=’. MyCompany C:\inetpub\wwwroot\MyCompany\MyWebsite\js\webflow.js 36
Error no-empty Empty block statement. MyCompany C:\inetpub\wwwroot\MyCompany\MyWebsite\js\webflow.js 8
Error no-empty Empty block statement. MyCompany C:\inetpub\wwwroot\MyCompany\MyWebsite\js\webflow.js 36

Thanks,
Kirk


#2

This topic was automatically closed after 60 days. New replies are no longer allowed.