merged upstream with jsonp additions
This commit is contained in:
commit
07ff5c9cf8
68 changed files with 7278 additions and 6 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue