在IE 7 - 9中显示空白屏幕的web应用程序

时间:2013-03-13 23:58:32

标签: internet-explorer internet-explorer-9 requirejs

我正在开发位于http://app.voxtracker.com/

的网络应用

我面临的问题是我在IE 7-9中看到一个空白的白屏,我的控制台中没有错误信息。

我正在使用requirejs并在我的标记中加载我的javascript依赖项。调试IE废话的任何策略?

我还可以从IE9控制台看到,在初始获取“/”请求后,没有其他资产被加载。

这是我的HTML输出:

 <!DOCTYPE html>
<!--[if IE 8]><html lang="en" class="ie8"><![endif]-->
<!--[if IE 9]><html lang="en" class="ie9"><![endif]--><!--[if !IE]><!-->

<html lang="en">
<head>
    <meta charset="utf-8">

    <title>Vox Tracker | Vox Supply Chain</title>
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <link href="/css?1363218849714" rel="stylesheet" type="text/css">
    <link href="/assets/img/favicon-vox.ico" rel="shortcut icon">
</head>

<body class="login">
    <div id="loading_indicator" style=
    "margin-top:-125px; position:absolute; top:50%; text-align:center; width:100%">
    <img src="/assets/img/loading_2.gif">

        <h2 id="status" style="font-style:italic">Loading...</h2>
    </div><script data-main="/source/client" src="/source/lib/require.js" type=
    "text/javascript"></script>
</body>
</html>

1 个答案:

答案 0 :(得分:0)

想出来。我正在使用nodejs模块'html-minifier'来缩小我的html输出&amp;它与页面顶部的IE注释块相混淆。

相关问题