fixes #974
Merge pull request #976 from ractivejs/gh-974

fixes #974