A diff for DOM elements, as client-side JavaScript code. Gets all modifications, insertions and removals between two DOM fragments.
Changes:
Improvements:
small code clean
Features:
Fixes:
Changes: -- fixes bug when trying to diff against a value that consisted of an empty string.
Changes
This fixes SVG internal diffing.
This is the first major update of the stable version of diffDOM. The main advantages over version 1.2.0 are: -- Speed: By using a virtual dom internally and making the diff finding mechanism more efficient, this version is about 50 times faster than version 1.2.0 -- Stability: Through extensive testing of random content over long periods of time, most of the remaining bugs have been dealt with. We have not been able to find errors in the diffing mechanism despite of having the computer spend hours on "mining" for bugs.
The random-unlimited test has run more than five full hours without running into issues. This makes it more stable than all of the previous versions, including the latest stable 1.2.0 version, for which it usually didn't take more than 5-10 minutes to find bugs.
Unless more issues are found within the next 48h, this version is going to be re-released as version 2.0.0 stable.