weareoutman/clockpicker — pull request #19 by azharb (2014-07-13 00:05:35+00:00)
Title: Adding event callbacks to colorpicker.

Created new options for the colorpicker that can be used as callbacks for events that occur on the popup.

For example:
```javascript
$('.clockpicker-with-callbacks').clockpicker({
init: function() {
console.log("colorpicker initiated");
},
beforeShow: function() {
console.log("before show");
},
afterShow: function() {
console.log("after show");
},
beforeHide: function() {
console.log("before hide");
},
afterHide: function() {
console.log("after hide");
},
beforeHourSelect: function() {
console.log("before hour selected");
},
afterHourSelect: function() {
console.log("after hour selected");
},
beforeDone: function() {
console.log("before done");
},
afterDone: function() {
console.log("after done");
}
});
```