notEmpty = function(obj) {
    if (typeof obj != "undefined") {
      if (obj != "") {
        return true;
      }
    }
  }
jsPDF Annotations PlugIn

There are many types of annotations in a PDF document. Annotations are placed
on a page at a particular location. They are not 'attached' to an object.
<br />
This plugin current supports <br />
<li> Goto Page (set pageNumber and top in options)
<li> Goto Name (set name and top in options)
<li> Goto URL (set url in options)
<p>
	The destination magnification factor can also be specified when goto is a page number or a named destination. (see documentation below)
 (set magFactor in options).  XYZ is the default.
</p>
<p>
 Links, Text, Popup, and FreeText are supported.
</p>
<p>
Options In PDF spec Not Implemented Yet
<li> link border
<li> named target
<li> page coordinates
<li> destination page scaling and layout
<li> actions other than URL and GotoPage
<li> background / hover actions
</p>
@name annotations
@module