From f4bf7aad80f2131f81a12cf5cc66072a0abb40b1 Mon Sep 17 00:00:00 2001 From: Avital Oliver Date: Thu, 10 Oct 2013 16:07:51 -0700 Subject: [PATCH] Ease the transition from {{loginButtons}} to {{> loginButtons}} --- packages/accounts-ui-unstyled/login_buttons.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/accounts-ui-unstyled/login_buttons.js b/packages/accounts-ui-unstyled/login_buttons.js index bae3a7cd4e..df4f7d7efb 100644 --- a/packages/accounts-ui-unstyled/login_buttons.js +++ b/packages/accounts-ui-unstyled/login_buttons.js @@ -10,6 +10,10 @@ Template.loginButtons.events({ } }); +Handlebars.registerHelper('loginButtons', function () { + throw new Error("Use {{> loginButtons}} instead of {{loginButtons}}"); +}); + // // helpers //