New question #506912 on Cheerp: https://answers.launchpad.net/cheerp/+question/506912
Hi, the program below crasches when I create the HTMLCanvasElement, only the first console log message shows up on the console. Regards Johan void webMain() [[cheerp::client]] { // OnDomLoaded auto OnDomLoaded = [=](){ console.log("Before creating client::HTMLCanvasElement()"); auto canvas = new client::HTMLCanvasElement(); console.log("After creating client::HTMLCanvasElement()"); }; document.addEventListener("DOMContentLoaded",cheerp::Callback(OnDomLoaded)); } -- You received this question notification because your team Leaningtech Team is an answer contact for Cheerp. -- Mailing list: https://launchpad.net/~leaningtech-dev Post to : leaningtech-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~leaningtech-dev More help : https://help.launchpad.net/ListHelp