To reproduce this issue, follow these steps:
- In a Razor web site, install the latest ASP.NET Web Helpers Library version using NuGet.
On a CSHTML page that references JQuery, add the following. (Please replace the API key below with your own.)
Request the page in IE 10 on Windows 8 RTM.
I'm putting this here for completeness and to track this issue for other developers and users; the code we're generating is identical to what's recommended by Yahoo! at http://developer.yahoo.com/maps/ajax/
. The error one gets appears to be in code maintained by Yahoo! and presumably can only be realistically fixed there.