jsfiddle不在IE8中工作。它适用于Firefox和Chrome

时间:2013-04-08 09:50:25

标签: javascript html jsfiddle

这就是jsfiddle在IE8中的样子:

enter image description here

以及以下js错误:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
Timestamp: Mon, 8 Apr 2013 09:49:23 UTC


Message: Expected ':'
Line: 222
Char: 1
Code: 0
URI: http://jsfiddle.net/js/jshint.js?TheBlackKeys


Message: Expected identifier
Line: 105
Char: 25
Code: 0
URI: http://jsfiddle.net/js/EditorCM.js?TheBlackKeys


Message: Object doesn't support this property or method
Line: 24
Char: 5
Code: 0
URI: http://jsfiddle.net/js/heyoffline.js?TheBlackKeys


Message: 'MooShellEditor' is undefined
Line: 91
Char: 7
Code: 0
URI: http://jsfiddle.net/


Message: Object doesn't support this property or method
Line: 7326
Char: 2
Code: 0
URI: http://jsfiddle.net/js/moo-clientcide-1.3.js?TheBlackKeys


Message: 'editor' is null or not an object
Line: 130
Char: 5
Code: 0
URI: http://jsfiddle.net/js/Actions.js?TheBlackKeys

3 个答案:

答案 0 :(得分:2)

jsFiddle与IE8不兼容。 要在不受支持的浏览器下进行测试,我们建议您使用“草稿”功能:http://doc.jsfiddle.net/basic/introduction.html#draft-page

答案 1 :(得分:1)

与编程或编码无关,只是http://jsfiddle.net/与交叉浏览器兼容性(在本例中为IEv8)的不良考虑因素

无论如何,如果你真的需要在IE8中测试,请在控制台中运行:

document.getElementById('content').style.height = '800px'; 

'800px'适合您的需求。

答案 2 :(得分:0)

我同意gmo。我在IE8上使用jsFiddle时遇到问题,需要使用Chrome。

还有一些针对IE8 HereHere的jsFiddle的开放式错误报告。到目前为止,它们尚未得到解决。