acumenbrands/honeycomb — pull request #5 by Robovirtuoso (2014-04-24 17:34:02+00:00)
Title: Add data-attributes, ignore_bubbles, and refactor

This pull request involves adding the following as dependencies for the library:

* jQuery 1.8.3
* Bindable 0.0.1

You can now initialize specific `HoverOver` and `HoverOut` classes if you only want to listen for events related to one of them. Both will be initialized via `Honeycomb.Hover`.

If you do not wish to overwrite any of the defaults you can simply add a data-attribute to your element in your html, which will instantiate one of the hover classes based on the attribute you give it on page load. The supported data-attributes are as follows:

* `[data-bindable='honey-hover']`
* `[data-bindable='honey-over']`
* `[data-bindable='honey-out']`

This will allow you to listen to `hoverin` and/or `hoverout` events on the corresponding element.

=============

`ignore_bubbles` has been added as an option you can pass to any Hover object. When set to true it will keep all children of the hover element from firing any `hoverin` or `mouseover` events. It is false by default.

=============

* Bower and Grunt are used for distribution and packaging purposes.
* Polyfills have been extracted into their own files.
* Examples have been added using jQuery, vanilla Javascript and the data attributes.

xoxo