Using Visual Studio 2012, on a Razor view page, in the JavaScript section, I am getting what I think is a battle between Razor syntax vs JavaScript syntax. In particular, th
I found that wrapping the Razor syntax in a JavaScript identity function also makes the IDE happy.