<ylluminarious_>
adambeynon, a couple of days ago, a friend of mine made this issue on the opal/opal repository: https://github.com/opal/opal/issues/680. i implemented your solution on that particular wrapper (opal-phaser) and made a pull request for it here: https://github.com/photonstorm/phaser/pull/1521. unfortunately, it looks like the developers of phaser don't know why or how this solution is fixing anything or what opal might be doing
gabriel_1 has quit [Quit: Lost terminal]
Guest31 is now known as grios
<adambeynon>
ylluminarious_: what type of object is `frames`?
ylluminarious has quit [Ping timeout: 264 seconds]
<adambeynon>
so `frames` is an array in this case?
<ylluminarious_>
well, a comment in the code says that it is, but one of those phaser devs is talking about it like it's not an array :-/
<adambeynon>
from that example json it looks like it is showing up as an array, in which case `for (var key in frames)` would includes these additional keys from opal. But its not just opal, it would also include any added functions to Array.prototype, which is quite common
<grios>
so, this is probably phaser handling it wrong, should be iterating with for(i=0;i<len;i++), as the other dev commented
<adambeynon>
yep. for-in isnt a safe assumption for arrays anymore. polyfills are used all the time which would break them
<ylluminarious_>
yeah, i think you guys are right
elia has quit [Quit: Computer has gone to sleep.]
<ylluminarious_>
adambeynon, alright, well, thanks for the help. i'm gonna wait and see what those phaser devs say.
<adambeynon>
ylluminarious_: no problem. I will try and have a look through their code, and the wrapper, later on incase its something obvious im missing
boberetezeke has quit [Ping timeout: 252 seconds]
e_dub has quit [Quit: e_dub]
e_dub has joined #opal
e_dub has quit [Client Quit]
supersym has quit [Quit: WeeChat 1.0.1]
shack4 has quit [Quit: Connection closed for inactivity]
grios has quit [Read error: Connection reset by peer]
Guest31 has joined #opal
Guest31 is now known as grios
grios has quit [Read error: Connection reset by peer]