簡體   English   中英

錯誤“'un.fn.init'為null或不是對象”-Internet Explorer 8(IE8)-jQuery 1.11.3

[英]Error “'un.fn.init' is null or not an object” - Internet Explorer 8 (IE8) - jQuery 1.11.3

我正在跨瀏覽器測試Internet Explorer 8中的站點,並且得到的'un.fn.init' is null or not an object 具體行如下:

re=function un(e,t){return new un.fn.init(e,t)}

我正在使用jQuery 1.11.3,因為它應該在ie8上運行。 該網站正在使用gulp.js進行編譯。 該站點還使用許多不同的庫來幫助ie8發揮作用:

<!--[if lt IE 9]>
    <script src="/js/other/object-keys-polyfill.js"></script>
    <script src="/js/other/html5shiv.js"></script>
    <script src="/js/other/nwmatcher.js"></script>
    <script src="/js/other/selectivizr.js"></script>
    <script src="/js/other/respond.js"></script>
<![endif]-->

在頁腳中:

<!--[if lt IE 9]>
    <script src='/js/other/rem.js'></script>
<![endif]-->

這個錯誤破壞了一切。 有人對如何擺脫它有任何想法嗎?

jQuery庫中不存在這樣的語法。

看起來您的代碼已使用某種工具進行了加密或混淆。 在大多數情況下,舊的瀏覽器將不支持完全加擾或混淆的JS。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM