title: jsPDF - .addHTML is not a function
body: <p>I am trying to transform my HMTL page (a form) into a pdf using the jsPDF library, here is what I have done:</p>
  
  <pre><code>var pdf = new jsPDF();
  var btn = document.getElementById("btn");
  
  btn.addEventListener('click', function(){
      pdf.addHTML(document.body,function() {
          pdf.save('test.pdf');
      });
  });
  </code></pre>
  
  <p>The "btn" is a button that I click to obtain the pdf. The problem I have is that when I click this button, I get the <strong>TypeError: pdf.addHTML() is not a function at HMTLButtonElement.</strong> message. After looking through several posts with the same topics, I don't see what I am missing:</p>
  
  <ul>
  <li>I have downloaded the jsPDF library</li>
  <li>I have downloaded rasterizehtml in my npm folder (I've also tried to use html2canvas, for the same result)</li>
  <li>I use jspdf.debug.js through the link I could find everywhere</li>
  <li>I have the addhtml.js file in my jsPDF library</li>
  </ul>
  
  <p>Here are my scripts if it can make it clearer:</p>
  
  <pre><code>&lt;script src="C:/Users/trist/AppData/Roaming/npm/node_modules/rasterizehtml/dist/rasterizeHTML.allinone.js"&gt;&lt;/script&gt; 
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.3.5/jspdf.debug.js"&gt;&lt;/script&gt;
  &lt;script src="js/jsPDF-1.3.2/jspdf.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Does anyone know how I can make this work?</p>