Asciidoctor.js在谷歌浏览器上实时预览

时间:2014-04-15 06:46:41

标签: javascript google-chrome asciidoc asciidoctor

我正在尝试在Google Chrome上使用Asciidoctor.js实时预览,但不是我的文档,而是

Error
TypeError : Cannot read property 'join' of null

它也引发了一个JS错误:

Denying load of chrome-extension://iaalpfgpbocpdfblpnhhgllgbdbchmia/js/jquery-2.0.3.min.map. 
Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.

我可能需要在manifest.js文件中添加某些内容,但我不知道是什么。

我无法弄清楚如何解决这个问题。任何建议将不胜感激。

1 个答案:

答案 0 :(得分:0)

Github上有一个未解决的问题:https://github.com/asciidoctor/asciidoctor-chrome-extension/issues/32

您使用的是Windows 8.1吗?

两个JS错误无关:

Denying load of chrome-extension://iaalpfgpbocpdfblpnhhgllgbdbchmia/js/jquery-2.0.3.min.map. 

请参阅jQuery's jquery-1.10.2.min.map is triggering a 404 (Not Found)

Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.

第二个是第一个的结果,因为在清单中未声明jquery-2.0.3.min.map