Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/yunba_javascript_demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<script type="text/javascript" src="javascripts/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="javascripts/socket.io.js"></script>
<script type="text/javascript" src="yunba-1.0.1.js"></script>
<script type="text/javascript" src="../yunba-1.0.1.js"></script>
<script>
var yunba = new Yunba({server: 'sock.yunba.io', port: 3000, appkey: '52fcc04c4dc903d66d6f8f92'});
yunba.init(function (success) {
Expand Down
2 changes: 0 additions & 2 deletions yunba-1.0.1.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,7 @@ Yunba = (function () {
});

me.socket.on('unsuback', function (result) {
console.log(result);
if (result.success) {
SUB_CHANNEL_LIST.remove(channel);
if (me.unsuback_cb)
me.unsuback_cb(true);
} else {
Expand Down