tildeio/htmlbars — pull request #230 by oneeman (2014-12-27 16:45:56+00:00)
Title: Fix test failures on Internet Explorer (#229)

-- Convert value for setAttribute() to string
-- Make repairClonedNode() safe to call on uncloned nodes (e.g. first rendering)

Tested with IE 11, and I expect based on what was failing before that it will also take care of IE 9 and 10, but let's see what the saucelabs tests say. My first approach was to not call `repairClonedNode()` the first time (by modifying the code for `template.render()`), but it made a different test fail, and having the dom helper handle it seems more appropriate anyway.

The added tests were not strictly speaking required, since there were other failing tests, but these make the failure's cause explicit.