Home forums Report Bugs CanvaJs and Array prototype extension

This topic contains 2 replies, has 2 voices, and was last updated by  Sunil Urs 4 years, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #9241


    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 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.

    Sunil Urs

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.