peek/peek-performance_bar — pull request #15 by barunio (2014-04-21 19:30:57+00:00)
Title: support custom events to trigger update

This PR provides a way to use peek-performance_bar with standard Ajax requests that are not carried out via Pjax or Turbolinks, simply by supporting custom `peek:start` and `peek:end` events.

For example, you could do something like this to update the performance bar for all Ajax requests:
```javascript
$(document).on('ajax:send', function() { $(this).trigger('peek:start') })
$(document).on('ajax:complete', function() { $(this).trigger('peek:end') })
```