我正在制作这个演示。为什么我无法在 JS Fiddle 上运行 Highcharts.js?
$(document).ready(function() {
$('pre code').each(function(i, e) {
hljs.highlightBlock(e)
});
您没有关闭
$(document).ready(function() {
通话。您可以在浏览器的开发者控制台中查看遇到的语法错误。
这里有一个固定的代码块给你:
$(document).ready(function() {
$('pre code').each(function(i, e) {
hljs.highlightBlock(e)
});
}); // this is the missing closing });