github wavesoft/dot-dom 0.2.2
v0.2.2

latest releases: v0.3.1, 0.3.0
7 years ago

In this release most of the major issues have been addressed and the core API is stabilised.

Changelog

  • ADDED: Not updating DOM properties if they are already the same. This fixes an issue with the <input /> elements not being updated properly.

  • ADDED: NPM-glue script for properly importing dot-dom from npm.

  • ADDED: Correctly passing-through the createElement function properties and methods through the Proxy. This fixes an issue with H.apply.

  • ADDED: Support for shallow arrays as H children. For example:

    H('div', 'foo', ['bar', 'baz'])
    // .. is the same as ...
    H('div', 'foo', 'bar', 'baz')

For keeping the 512 byte thresshold

  • REMOVED: Not excluding .C from being applied as property to the DOM element. This saves a few bytes and having this extra property in the DOM element instance is not really affecting any visual behaviour.

Don't miss a new dot-dom release

NewReleases is sending notifications on new releases.