rrweb
rrweb copied to clipboard
bugfix: Sort attributes to make `rr_*` attributes handled last
rr_dataURL overwrites src attribute, because of this we need to evaluate rr_dataURL last so src doesn't accidentally get overwritten again.
Had a chat with @eoghanmurray and @Mark-Fenng, I'm going to do a refactor which eliminates the loop overhead.
I think you've got the alternative version without the
specialAttributesarray, but with the boolean flag?
@eoghanmurray I did some performance tests and this one was faster so I ended up going with this
Cool, happy to approve!
This way is also elegant now that I see it.
I thought the specialAttributes was from before Friday when we had a chat about it.
@eoghanmurray thanks Eoghan! Yes it was from our chat initially. But it got deleted and then came back again