A JavaScript bug that isn't JavaScript Found this in a .cshtml file a plain JS comment causing th...A JavaScript bug that isn't JavaScript Found this in a .cshtml file a plain JS comment causing th...
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
A JavaScript bug that isn't JavaScript Found this in a .cshtml file a plain JS comment causing the view to gave a syntax error. // reports.css @media print CSC : error RZ1006: The name 'media' does not exist in the current context π—ͺπ—΅π˜†: Razor scans the whole .cshtml file for @ β€” even inside // comments β€” and tries to parse @media as C#. π—™π—Άπ˜…: escape it as @@media. Renders as a single @, builds clean.
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started