madrobby/zepto — pull request #471 by ruimarinho (2012-04-06 18:50:22+00:00)
Title: Changed the way data attributes are read or set data using native dateset support when possible

This PR has two purposes:

* The [W3C spec](http://www.w3.org/TR/html5/global-attributes.html#embedding-custom-non-visible-data-with-the-data-attributes) mentions that hyphenated names become camel-cased. For example, data-foo-bar="" becomes element.dataset.fooBar.
This is not the current case of Zepto, since $.data('camelCase') will trigger the `getAttribute` of 'data-camelCase'. This is more inline with what jQuery does too.

* Use native dataset support when available, instead of getting/setting the attribute directly.

I haven't tested this with the data plugin currently available.