When I try to load the jsPDF library I am getting the following error: "ReferenceError: Can't find variable: window". This is no surprise as don't have a window variable here. But surprisingly the creation of my pdf document works without problems.
Is there any way to load the library without this error?
Is it safe to use the library even though there is this error? Or will it break in certain circumstances?