I am using jspdf plugin to generate PDF from html. When I use jspdf.debug.js it works fine. However, when I change that to jspdf.min.js, it does not work.
I am getting the following error.
Uncaught ReferenceError: jsPDF is not defined
I tried to minimize the file using yui compressor, but it is complaining about syntax errors in the jspdf.debug.js file.