summaryrefslogtreecommitdiff
path: root/public/assets/js/lib/views/stream
diff options
context:
space:
mode:
authorjulian laplace <julescarbon@gmail.com>2022-10-26 18:52:52 +0200
committerjulian laplace <julescarbon@gmail.com>2022-10-26 18:52:52 +0200
commitb05925febcabb4caa5e1f5d4503f7ddd23708b26 (patch)
tree55274c185498e7f123f695bac3181b642cb6a96b /public/assets/js/lib/views/stream
parentefd2c35d432dc2426bf1fd9c849eeabdf28e40e3 (diff)
upgrade knex and bookshelf and fix thread/keyword apis
Diffstat (limited to 'public/assets/js/lib/views/stream')
-rw-r--r--public/assets/js/lib/views/stream/hootstream.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/stream/hootstream.js b/public/assets/js/lib/views/stream/hootstream.js
index 47ed2b9..bfdf5d1 100644
--- a/public/assets/js/lib/views/stream/hootstream.js
+++ b/public/assets/js/lib/views/stream/hootstream.js
@@ -42,6 +42,7 @@ var HootStream = View.extend({
// console.log(data, threadLookup, order);
const $els = order.map(
function (item) {
+ // console.log(item.type, item.thread_id);
return item.type === "thread"
? this.renderThread(threadLookup[item.thread_id]).reduce(
($el, $item) => $el.append($item),
@@ -59,7 +60,7 @@ var HootStream = View.extend({
render: (template, object) => {
if (!template) {
- console.log("No template", object);
+ console.error("No template", object);
return $("<div>No template</div>");
}
const rendered = Object.entries(object).reduce(