jsPDF icon indicating copy to clipboard operation
jsPDF copied to clipboard

Empty string passed to getElementById(). jspdf.min.js:287:29650

Open funzeye opened this issue 10 years ago • 3 comments

Empty string passed to getElementById(). jspdf.min.js:287:29650 Am seeing this warning in console in firefox only (on Windows) - No warning in Chrome - happens on page load - just thought you'd want to know!

funzeye avatar Mar 23 '16 20:03 funzeye

I have got the same problem here...Really annoying

The library is broken

Version used: v1.2.61

relu-xz avatar Apr 23 '16 23:04 relu-xz

Same problem for me. Version 1.2.61

eggib avatar May 29 '16 11:05 eggib

commenting the ,global[""]=exports at the end of the line 287 eliminates the warning.

original:

(this),global[""]=exports}({},function(){return this}());

commented:

(this)/*,global[""]=exports*/}({},function(){return this}());

seems to be some problem with the minified version of the integrated RequireJS code at the old 1.2.60 version. The main git 1.2.61 version doesn't have this problem anymore.

Yemolai avatar Jul 26 '16 15:07 Yemolai