From 965f700cc4107c5c0411fa275f3fc8a9c228c639 Mon Sep 17 00:00:00 2001 From: Leo Horie Date: Wed, 4 May 2016 00:36:18 -0400 Subject: [PATCH] remove dead code --- examples/threaditjs/app.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/examples/threaditjs/app.js b/examples/threaditjs/app.js index cad448d2..daab5d3d 100644 --- a/examples/threaditjs/app.js +++ b/examples/threaditjs/app.js @@ -131,16 +131,6 @@ var NewThread = { } } -function threadListItem(thread) { - return [ - m("p", [ - m("a", {href: "#/thread/" + thread.id}, trust(T.trimTitle(thread.text))), - ]), - m("p.comment_count", thread.comment_count + " comment(s)"), - m("hr"), - ] -} - //thread var Thread = { oninit: function(vnode) {