brianreavis/selectize.js — pull request #399 by foolyoghurt (2014-05-04 11:09:19+00:00)
Title: Fix issue #343

It's impossible to capture the *initialize* event using `selectize.on('initialize', handler);` because `selectize` object is returned just after the event is triggered. Using `$input` object to trigger the initialize event can avoid this and captures the event. For example:
```
var $select = $(selector).on('initialize', function() {
console.log('init');
}).selectize(options);
```