如何修复“0x800a1391 - JavaScript运行时错误:'google'未定义”? [英] How to fix "0x800a1391 - JavaScript runtime error: 'google' is undefined"?
问题描述
大家好,
如何修复"0x800a1391 - JavaScript运行时错误:'google'未定义"?在此先感谢。
对于Windows 8应用,您可以创建一个本地HTML页面,假设您将示例保存为
chartPage.html :
您可以复制
此处示例:
并使用ms-appx-web:///协议在iframe中托管此页面,以允许内容在本地内容。
类似这样的内容:< iframe src =" ms-appx-web:/// chartPage.html ">< / iframe>
对于Windows 8.1,您需要使用新的< x-ms-webview src =" ms-appx-web:// chartPage.html ">< / x-ms-webview>
您需要调整iframe(Windows 8)或x-ms-webview(Windows 8.1)的大小)。
Hi All,
How to fix "0x800a1391 - JavaScript runtime error: 'google' is undefined"? Thanks in advance.
For Windows 8 apps you would create a local HTML page, let's say you save the example as chartPage.html:
You can copy an example here:
And host this page inside an iframe using ms-appx-web:/// protocol to allow the content to run outside of the local content.
something like this: <iframe src="ms-appx-web:///chartPage.html"></iframe>
For Windows 8.1 you will need to use the new <x-ms-webview src="ms-appx-web://chartPage.html"></x-ms-webview>
You will need to adjust the size of your iframe (Windows 8) or x-ms-webview (Windows 8.1).
这篇关于如何修复“0x800a1391 - JavaScript运行时错误:'google'未定义”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!