yogiben / meteor-pretty-email

Pretty emails for meteor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Readme - missing coding

6gsaifulislam opened this issue · comments

The setup in readme:

PrettyEmail.options =
from: 'support@mycompany.com'
logoUrl: 'http://mycompany.com/logo.png'
companyName: 'myCompany'
companyUrl: 'http://mycompany.com'
companyAddress: '123 Street, ZipCode, City, Country'
companyTelephone: '+1234567890'
companyEmail: 'support@mycompany.com'
siteName: 'mycompany'

Would be better with:

PrettyEmail.options ={
from: 'support@mycompany.com',
logoUrl: 'http://mycompany.com/logo.png',
companyName: 'myCompany',
companyUrl: 'http://mycompany.com',
companyAddress: '123 Street, ZipCode, City, Country',
companyTelephone: '+1234567890',
companyEmail: 'support@mycompany.com',
siteName: 'mycompany'
};

This is not working for me in meteor I am getting an ecmascript error. Any help?

In case anyone wants to know, the readme uses CoffeeScript that's why you're facing errors unless you're using a CoffeeScript file extension. Just convert them to JS to get rid of any ecmascript errors.