cmather / meteor-handlebars-server

Server side handlebars support for Meteor
80 stars 14 forks source link

Broken under Meteor 1.3 #34

Closed maxenceC closed 8 years ago

maxenceC commented 8 years ago

Same code used to work under 1.2 :

mailgunHandler.send({
                    'to': targetUserMail,
                    'from': sendMail,
                    'html': Handlebars.templates.matchingEmail({
                        siteURL: Meteor.absoluteUrl(),
                        fromName: 'Kévin',
                        fromEmail: sendMail,
                        message_1: TAPi18n.__('mail_matching_text_1', user.profile.firstName, lang),
                        message_2: TAPi18n.__('mail_matching_text_2', null, lang),
                        message_3: TAPi18n.__('mail_matching_text_3', null, lang),
                        message_4: TAPi18n.__('mail_matching_text_4', null, lang)
                    }),
                    'subject': subject + ' - Ayni',
                    'message': 'test'
                });

Now display the following error : Cannot call method 'matchingEmail' of undefined

I use cmather:handlebars-server@0.2.0

maxenceC commented 8 years ago

My bad, wasn't the package itself