Skip to content

Dabby.js v0.9.11

Compare
Choose a tag to compare
@hexydec hexydec released this 12 Mar 11:58
· 94 commits to master since this release

This release fixes a number of bugs, improve compatibility with jQuery and also improves performance through a new benchmarking suite. Currently the suite only tests a small part of the code.

The core $() has seen a lot of refactoring to fix compatibility issues and improve performance,

There is also more documentation and a smaller package on NPM. In this release:

  • Added code comments and made code more readable in getVal()
  • Added documentation for named.js
  • Added the beginnings of a benchmark suite, it currently benches against jQuery, with only tests for the core $() and $.fn.attr()
  • Reworked dabby.js to improve performance
  • Updated benchmark to run asynchronously so it shows results as they are run, layout and usability better
  • Added files to package.json so they are available in NPM
  • Added $.parseHTML() to fix issues with adding scripts and document contexts within $(), updated $.fn.load() to use
  • Updated when HTML is created within $() to simplify the creatorDocument argument, you now must pass a document
  • Fixed issue in $() where a context sent as an empty object or array would cause an error
  • Fixed bug in $() where if you sent an empty object as a context, it would default to using the document, whereas it actually shouldn't lookup the selector at all
  • Fixed bug where 'this' can exist in the context of the dabby function, so the properties got attached to the wrong object
  • Fixed bug in $() where it would only search for nodes in the first context item supplied, whereas it should find child nodes in all contexts that are supplied
  • Removed build files from version control for tests and benchmarking
  • Fixed bug in getprop.js where it always lowercased property names, where as it should have just used the lowercase name to check against the conversion list