就当是瞎扯淡吧^ ^
发布于 12 年前 作者 gxmari007 4725 次浏览 最后一次编辑是 8 年前

各位在写SPA的时候引入disqus的时候是如何处理的呢,会不会遇到我这样的错误.

Cannot call method 'postMessage' of null
10 回复

“SPA” 是指什么啊?

单页面应用啊…我用backbone.js写了个blog,引用disqus,如果跳到其他页面,也就是删除这个模版会跳这个错误,就算我把引入了script标签删除了也毛用= =

@gxmari007 喵, 只在静态页面用过 Disqus 的路过

@jiyinyiyong 所以就是不知道它还绑定了什么事件,remove掉回复框和script标签还是会有错误…

test embedded video ? <iframe width=“420” height=“315” src=“http://www.youtube.com/embed/CjaC8Pq9-V0” frameborder=“0” allowfullscreen></iframe>

embed标签可以

@gxmari007 backquote> 标签 都配屏蔽了…

貌似AngularJS不错。。。

回到顶部