mithril.js icon indicating copy to clipboard operation
mithril.js copied to clipboard

Posible bug in DOM rendering

Open iOliverNguyen opened this issue 12 years ago • 2 comments

I created this fiddle to demonstrate the bug: http://jsfiddle.net/K3v9t/

When switching between Home and About page, "Components" section was repeated multiple time.

iOliverNguyen avatar May 29 '14 06:05 iOliverNguyen

This bug only appears in 0.1.14. Version 0.1.13 and 0.1.12 are ok.

iOliverNguyen avatar May 29 '14 06:05 iOliverNguyen

Hi Vu, thanks for the report!

This bug appears to be a regression for a scenario that wasn't being covered by the unit tests (related to #87 and #99). I fixed it last night and added a test to prevent it from happening again.

Given that this is a big bug, I'm publishing this fix in v0.1.15 right now, so I'd recommend that you use that going forward. P.S. CDNs are a bit slow to update

lhorie avatar May 29 '14 12:05 lhorie