Using jQuery with Windows 8 Metro JavaScript App causes security error

前端 未结 11 1627
孤城傲影
孤城傲影 2020-11-29 21:03

Since it sounded like jQuery was an option for Metro JavaScript apps, I was starting to look forward to Windows 8 dev. I installed Visual Studio 2012 Express RC and started

11条回答
  •  死守一世寂寞
    2020-11-29 21:52

    The JavaScript Dynamic Content shim on GitHub was created and released by Microsoft Open Technologies to address this error. It has not been tested with jQuery but will most likely solve your problem. Reference the winstore-jscompat.js file in the beginning of your app before any other scripts are run and you should no longer see this error.

提交回复
热议问题