0x800a1391-JavaScript运行时错误:'WinJS'未定义 [英] 0x800a1391 - JavaScript runtime error: 'WinJS' is undefined

查看:88
本文介绍了0x800a1391-JavaScript运行时错误:'WinJS'未定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从 CodePlex 下载了代码 然后我安装了live,telerik等的SDK

安装后,我运行了代码,出现以下错误

   `0x800a1391 - JavaScript runtime error: 'WinJS' is undefined`

错误发生在Converters.Js文件中

(function() {
   var r = Windows.Storage.ApplicationData.current.roamingSettings.values;

    // Export shortDate
    WinJS.Namespace.define("codeSHOW.Converters", {  // Error Occured here

   });

})();

我们非常感谢您的帮助.

谢谢.

解决方案

您是否在htm文件中包含base.js?

I have download the code from CodePlex Then I install the sdk's of live,telerik etc

After installation I ran the code and I'm getting the following error

   `0x800a1391 - JavaScript runtime error: 'WinJS' is undefined`

The error occured in the Converters.Js file here it is

(function() {
   var r = Windows.Storage.ApplicationData.current.roamingSettings.values;

    // Export shortDate
    WinJS.Namespace.define("codeSHOW.Converters", {  // Error Occured here

   });

})();

Any help is highly appreciated.

Thanks.

解决方案

Did you include base.js in your htm file before which ever file is making that call?

这篇关于0x800a1391-JavaScript运行时错误:'WinJS'未定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆