()
| 27 | |
| 28 | // Resizer() resizes items based on the object width divided by the compressor * 10 |
| 29 | var resizer = function () { |
| 30 | $this.css('font-size', Math.max(Math.min($this.width() / (compressor*10), parseFloat(settings.maxFontSize)), parseFloat(settings.minFontSize))); |
| 31 | }; |
| 32 | |
| 33 | // Call once to set. |
| 34 | resizer(); |