closes #837
Merge pull request #1069 from ractivejs/gh-837

closes #837