driskull/arcgis-dijit-locate-button-js — pull request #1 by odoe (2013-10-22 15:20:41+00:00)
Title: Replaced _OnDijitClickMixin with a11yclick and use dijit/_WidgetBase::own to binding handler.

The dijit/_OnDijitClickMixin has been deprecated in place of dijit/a11yclick according to the source.
https://github.com/dojo/dijit/blob/master/_OnDijitClickMixin.js
dijit/_OnDijitClickMixin will fall back to dijit/a11yclick anyway.
https://github.com/dojo/dijit/blob/master/a11yclick.js
I replaced these modules in the source.

Since using a11yclick, I also removed the data-dojo-attach-event="ondijitclick:locate" from the template and placed a listener using dojo/on in the postCreate method using diji/_WidgetBase::own per this sitepen post.
http://www.sitepen.com/blog/2013/08/19/dojo-faq-aspect-handle-cleanup/

This probably isn't critical as I'm sure dijit/_OnDijitClickMixin will keep working until Dojo 2.0 and I know it is probably used extensively in the ArcGIS API for JavaScript, but if the API will move to Dojo 2.0 in the future, this is probably how it would look in most cases. This is how I have been using it in my widgets and have had no issues.

Thanks.