fixes #1082
Merge pull request #1088 from ractivejs/gh-1082

fixes #1082