kartik-v/yii2-widgets — pull request #50 by thiagotalma (2014-04-14 18:14:53+00:00)
Title: Update InputWidget.php

Hello Kartik,

Glad you liked my suggestion. I'm sure it will help many people.

I would suggest some more tweaking.

I researched the subject and the crc32 algorithm is better than the adler32.

I've also improved my script to generalize even more, so we can do this:
```JAVASCRIPT
$(':input[data-pluginoptions]').each(function(){
var pluginname = $(this).data('pluginname');
var pluginoptions = window[$(this).data('pluginoptions')];
$(this)[pluginname](pluginoptions);
});
```
Hugs!