Merge remote-tracking branch 'origin/rewrite' into rewrite

Conflicts:
	docs/route.md
This commit is contained in:
Leo Horie 2016-09-12 09:48:30 -04:00
commit 55f0dfa4dd
16 changed files with 546 additions and 392 deletions

View file

@ -21,4 +21,13 @@ o.spec("render", function() {
o(root.childNodes.length).equals(0)
})
o("throws on invalid root node", function(){
var threw = false
try {
render(null, [])
} catch (e) {
threw = true
}
o(threw).equals(true)
})
})