These are chat archives for Email-builder/email-builder-core

23rd
Apr 2015
Jeremy Peter
@jeremypeter
Apr 23 2015 00:39
Ohhh, yeah "this" is getting lost. I was able to get it to work by doing:
emailBuilder.inlineCss(file.path)
        .then(emailBuilder.sendLitmusTest.call(emailBuilder))
        .then(emailBuilder.sendEmailTest.call(emailBuilder))
        .then(function(html) {

          file.contents = new Buffer(html);
          cb(null, file);

        });
using call
Jeremy Peter
@jeremypeter
Apr 23 2015 05:51
Actually this is a little better:
emailBuilder.inlineCss(file.path)
        .bind(emailBuilder)
        .then(emailBuilder.sendLitmusTest)
        .then(emailBuilder.sendEmailTest)
        .then(function(html) {

          file.contents = new Buffer(html);
          cb(null, file);

        });
Steven Miller
@yargalot
Apr 23 2015 05:54
Momma cleaner
Lots cleaner lol
Jeremy Peter
@jeremypeter
Apr 23 2015 16:15
Hahaha I like momma cleaner better
Steven Miller
@yargalot
Apr 23 2015 23:27
LulZ, will have a look at work then