Hi, trying to use the pdfmake.js javascript library. pdfMake from https://github.com/bpampuch/pdfmake
I have created a simple html file and the pdf gets created. Simple.
However, when included in appery, it generates this error while loading:
appery.js:2171 Uncaught TypeError: _.isTrueObject is not a function
around this code snippet:
Apperyio.processSelectMenu = function (screen) {
var ctx;
if (screen) {
if (.isTrueObject(screen)) {
ctx = $(screen);
} else if (.isString(screen)) {
ctx = $("#" + screen);
}
}
This looks like a very useful library and it works outside of appery, but somehow appery compiler is not liking something. I have created a simple blank jquery app to use so no other code or library present.
Can you tell why Appery is giving an error when using it.
I have tried it with / without frame to test but same error. Delete the JS file, and it compiles. So they both seem to work without each other but will not with each other.