crysalead-js / dom-layer

Virtual DOM implementation.
MIT License
30 stars 1 forks source link

no updated callback?? #46

Closed ghost closed 9 years ago

ghost commented 9 years ago

I took a look at your new changes, and as far as I can see, there is no updated() callback? Quick search in the source code gave no match. Is this a bug?

ghost commented 9 years ago

No bug. You haven't published a new release yet!!.

jails commented 9 years ago

Ah yeah needed to remove an unecessary dependency first.

ghost commented 9 years ago

But are this callback working all the time for you? I tried the update spec and got a different result... if you have A and patch it with B, the new node will be C with changes from A? Because I got sometimes this:

A B B A

and not

A B A B

As in the specs. I will see if I can create I js fiddle later on.