From f276c97deb3594df2ec36c758e2d75c35d48c5ec Mon Sep 17 00:00:00 2001 From: Enrico Fasoli Date: Wed, 8 Oct 2014 16:09:03 +0200 Subject: [PATCH] fix mistake --- client/client.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/client/client.coffee b/client/client.coffee index cee8b14..f967bdf 100644 --- a/client/client.coffee +++ b/client/client.coffee @@ -146,6 +146,7 @@ Template.profile.events if e then errCallback e else notify type: 'success', msg: 'Account deleted' +Template.doc.valid = -> @text? Template.doc.source = -> Router.current().route.name is 'src' Template.doc.rows = -> ""+@text.split('\n').length Template.doc.owned = -> Meteor.user()._id is @owner