juice.juiceResources is not a function
antoniogarcez opened this issue · comments
António Garcez commented
Hi,
I'm trying to use method juiceResources because, in my HTML, I have a lot of CSS files referenced by link tags. This is my code:
juice.juiceResources($('html')[0].outerHTML, { webResources: { images: false, svgs: false, scripts: false } }, function (err, html) {
console.log(err);
});
But, unfortunately does not work and shows this error:
Uncaught TypeError: juice.juiceResources is not a function
What is happen?
Jarrett Widman commented
This type of question might be more suited to stackoverflow as you don't seem to be reporting an issue per se.