【发布时间】:2013-09-11 00:40:13
【问题描述】:
我正在尝试使用棘轮来实时反映对我的数据库所做的更改。 我使用了推送应用程序的代码 (http://socketo.me/docs/push)。但我在这方面遇到了错误。
打开客户端页面的那一刻:
Uncaught ReferenceError: module is not defined when.js:900
(anonymous function) when.js:900
(anonymous function) when.js:15
(anonymous function) when.js:900
之后我输入: conn.subscribe('topic'); //这订阅了主题。
现在,当我对该主题进行更改时,会在要显示更改的位置弹出一个错误。
错误 2:
Uncaught TypeError: undefined is not a function [VM] autobahn.min.js (124):66
(anonymous function) [VM] autobahn.min.js (124):66
c._websocket.onmessage [VM] autobahn.min.js (124):66
有什么帮助吗?
【问题讨论】: