You must be logged in to post your query.
Home › Forums › Report Bugs › CanvaJs and Array prototype extension
Tagged: array, for, hasOwnProperty, prototype
Hi,
recently, I wrote a javascript file that contains extension methods for the Array prototype. It works quite well but I noticed that it makes canvasjs unable to render graphics anymore. I guess there is some “for ( var … in … )” in the canvasjs code that don’t use “hasOwnProperty”. I think this can be considered as a bug and should be fixed by the team (I don’t think it would be a big deal to replace all “for ( var … in …)” by “for (var i = …)”).
Thanks
ssougnez,
Thanks for reporting. We’ll look into the issue and get back at the earliest.
— Sunil Urs
We have just fixed the issue. Here is an internal build for you.
Thanks for reporting.
You must be logged in to reply to this topic. Login/Register