Skip to content

Releases: freeall/dombo

New more low-level interface

20 Jun 11:57

Choose a tag to compare

The original idea of dombo was to be a thin wrapper on top of the native DOM. And it's now a reality.

$('.foo') now returns an array-like object that also has all the properties of the DOM objects it selected. E.g., both a div and an input element will have an innerHTML property, but only an input element will have a value property.

The returned element will also include all array methods like map/reduce/forEach/etc, the length property and you can index with [0].

3.2.2 release of Dombo

06 Apr 10:05

Choose a tag to compare

Fixed issue where .toggleClass(nodes, 'someClass') would change all the nodes to the same, depending on whether one of them had 'someClass'. The correct behavior is to look at each node individually.

v3.2.0

21 Apr 11:10

Choose a tag to compare

3.2.0 release of Dombo

First release of Dombo, a simplified version of jQuery. A lot less responsibility, a little more low-level, and no legacy browser support (works in most browsers, and IE9+).

In the minified version it's 3kb, compared to jQuery's 96kb.

  • Selectors. Should work as jQuery, $('.foo') or $('.somelement', '#inanother')
  • Event handlers. Include these methods: on, off, one
  • ClassName manipulation. Includes these methods: hasClass, addClass, removeClass, toggleClass