Home forums Report Bugs CanvaJs and Array prototype extension

This topic contains 2 replies, has 2 voices, and was last updated by  Sunil Urs 1 year, 3 months ago.

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

    ssougnez
    Member

    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

    #9247

    Sunil Urs
    Keymaster

    ssougnez,

    Thanks for reporting. We’ll look into the issue and get back at the earliest.


    Sunil Urs

    #9304

    Sunil Urs
    Keymaster

    ssougnez,

    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.