fixes #1109
Merge pull request #1111 from ractivejs/gh-1109

fixes #1109