Razor/JavaScript and trailing semicolon

前端 未结 7 1035
不知归路
不知归路 2020-12-01 11:30

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

7条回答
  •  醉酒成梦
    2020-12-01 12:10

    I found that wrapping the Razor syntax in a JavaScript identity function also makes the IDE happy.

    
    

提交回复
热议问题