janapol/raty — comment on commit 894bf82f17fd1372637a3a7c6f78cc0d939dc739
File: js/jquery.raty.js line 270
By wbotelhos:

I think you can just verify if exists the data 'readonly' like:

```if ($this.data('readonly'))```

Could you add code to add or remove the data on conditional isReadOnly for me too?

Thanks.