katspaugh/wavesurfer.js — pull request #310 by guipacheco2 (2014-12-04 22:03:35+00:00)
Title: Fill parent even when the sounds are short

Hello,

Short sounds not fill parent even the param fillParent is true.
Now before set new length, is checked if it not less than the parent width.

In these images we can see what happened prior to this fix when a region is created in short songs, and fillParent and scrollParent are true.

![before](https://cloud.githubusercontent.com/assets/583094/5306904/73422fe2-7bef-11e4-903a-1a090839f506.jpg)

![after](https://cloud.githubusercontent.com/assets/583094/5306905/76bae3d0-7bef-11e4-91d7-9327abe02230.jpg)

Thanks