closes #1220
Merge pull request #1241 from ractivejs/gh-1220

closes #1220