Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
can.view returns a renderer function that returns a string #608
Note: When fixing this we can also update https://github.com/bitovi/canjs/blob/master/component/component.js#L64
I submitted a fix for the issue. However I also had to change some of the other tests because they were assuming that normal text would be returned instead of a document fragment. For that reason I will bump this to 2.1. From experience we can generally say, that if the tests already assume things working a certain way, other users will do so as well.