Added 'allowEmpty' to example

allowEmpty option isn't documented as far as I can tell.  Doesn't show up in any searches at least.  Added to example.
Merge pull request #437 from cc-consulting/master

Added 'allowEmpty' to example