merged upstream with jsonp additions

This commit is contained in:
Alec Embke 2014-08-25 11:09:55 -07:00
commit 07ff5c9cf8
68 changed files with 7278 additions and 6 deletions

View file

@ -744,6 +744,12 @@ function testMithril(mock) {
return unloaded1 === true && unloaded2 === true
})
test(function() {
var root = mock.document.createElement("div")
m.render(root, [m("div.blue")])
m.render(root, [m("div.green", [m("div")]), m("div.blue")])
return root.childNodes.length == 2
})
//end m.render
//m.redraw
@ -1502,6 +1508,10 @@ function testMithril(mock) {
return prop() === "test2"
})
test(function() {
var prop = m.prop(null)
return prop() === null
})
//m.request
test(function() {