windows-8 - 0x800a1391 - JavaScript 运行时错误 : 'WinJS' is undefined

标签 windows-8 microsoft-metro winrt-xaml

我已经从 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,然后该文件进行了该调用?

关于windows-8 - 0x800a1391 - JavaScript 运行时错误 : 'WinJS' is undefined,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13468492/

相关文章:

c# - Windows 应用商店应用程序 - 枚举字体

c# - 在 C# 中向 Windows 8 Metro 风格应用程序发送推送通知

c# - 如何复制 Win8 metro File Picker UI

c# - 如何提高窗口电话 8.1 中的性能方法 GetThumbnailAsync

windows-runtime - WinRT Xaml 工具包列系列错误?

javascript - Windows 应用商店应用程序 - 从辅助磁贴启动时执行单个任务

c# - 检查 TextBlocks 文本是否为特定颜色

c# - C#获取图片的高和宽的方法

javascript - 如何在不调用的情况下使用鼠标选择 Metro ListView 项?

xaml - 如何在metro应用程序中设置页面背景