remove debug output

This commit is contained in:
or-else
2018-07-14 14:15:47 +03:00
parent dc46f8f166
commit a8c9347591
2 changed files with 1 additions and 9 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ and [icons](https://google.github.io/material-design-icons/#icon-font-for-the-we
Although the app is generally usable, keep in mind that this is work in progress. Some bugs probably exist. The app was tested in the latest Chrome & Firefox only. Although the app is generally usable, keep in mind that this is work in progress. Some bugs probably exist. The app was tested in the latest Chrome & Firefox only.
Try possibly newer or older version live at https://api.tinode.co/x/example-react-js/. Login as one of `alice`, `bob`, `carol`, `dave`, `frank`. Password is `<login>123`, e.g. password for `alice` is `alice123`. You can discover other users by email or phone by prefixing them with `email:` or `tel:` respectively. Emails are `<login>@example.com`, e.g. `alice@example.com`, phones are `17025550001` through `17025550009`. The demo is reset every night at 2:15am Pacific time. Try possibly newer or older version live at https://api.tinode.co/. Login as one of `alice`, `bob`, `carol`, `dave`, `frank`. Password is `<login>123`, e.g. password for `alice` is `alice123`. You can discover other users by email or phone by prefixing them with `email:` or `tel:` respectively. Emails are `<login>@example.com`, e.g. `alice@example.com`, phones are `17025550001` through `17025550009`. The demo is reset every night at 2:15am Pacific time.
License: [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0) License: [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0)
-8
View File
@@ -472,8 +472,6 @@
topic.setMeta({sub: {user: params.user, mode: am}}).catch(function(err) { topic.setMeta({sub: {user: params.user, mode: am}}).catch(function(err) {
if (errorHandler) { if (errorHandler) {
errorHandler(err.message, "err"); errorHandler(err.message, "err");
} else {
console.log(err);
} }
}); });
} }
@@ -490,8 +488,6 @@
promise.catch(function(err) { promise.catch(function(err) {
if (errorHandler) { if (errorHandler) {
errorHandler(err.message, "err"); errorHandler(err.message, "err");
} else {
console.log(err);
} }
}); });
} }
@@ -525,8 +521,6 @@
topic.delTopic().catch(function(err) { topic.delTopic().catch(function(err) {
if (errorHandler) { if (errorHandler) {
errorHandler(err.message, "err"); errorHandler(err.message, "err");
} else {
console.log(err);
} }
}); });
}}, }},
@@ -541,8 +535,6 @@
topic.delSubscription(params.user).catch(function(err) { topic.delSubscription(params.user).catch(function(err) {
if (errorHandler) { if (errorHandler) {
errorHandler(err.message, "err"); errorHandler(err.message, "err");
} else {
console.log(err);
} }
}); });
}}, }},