From 4cfc8950c6fa86b14e4eb5d5a9aa7a52c10f5689 Mon Sep 17 00:00:00 2001 From: Emfox Zhou Date: Thu, 4 Sep 2014 21:27:40 +0800 Subject: [PATCH 1/2] Fix unsuback by removing wrong code. --- yunba-1.0.1.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/yunba-1.0.1.js b/yunba-1.0.1.js index 53abc20..c857b56 100644 --- a/yunba-1.0.1.js +++ b/yunba-1.0.1.js @@ -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 { From b39424d2b4604081baf44de777426617cc5bef0a Mon Sep 17 00:00:00 2001 From: Emfox Zhou Date: Thu, 4 Sep 2014 21:28:38 +0800 Subject: [PATCH 2/2] Fix demo path. --- examples/yunba_javascript_demo.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/yunba_javascript_demo.html b/examples/yunba_javascript_demo.html index e3d05ec..50dc17f 100644 --- a/examples/yunba_javascript_demo.html +++ b/examples/yunba_javascript_demo.html @@ -5,7 +5,7 @@ - +