clean up
This commit is contained in:
parent
9e558c199c
commit
2923104d27
6 changed files with 124 additions and 5 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<!doctype html>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.0.3/es5-shim.min.js"></script>
|
||||
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.0.3/es5-shim.min.js"></script>-->
|
||||
<script src="test.js"></script>
|
||||
<script src="mock.js"></script>
|
||||
<script src="../mithril.js"></script>
|
||||
|
|
|
|||
|
|
@ -1780,7 +1780,6 @@ function testMithril(mock) {
|
|||
test(function() {
|
||||
var root = mock.document.createElement("div")
|
||||
var vdom = m("div.a", {class: undefined})
|
||||
console.log(vdom)
|
||||
m.render(root, vdom)
|
||||
return root.childNodes[0].class == "a"
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue