This commit is contained in:
Leo Horie 2015-04-13 08:29:03 -04:00
parent 9e558c199c
commit 2923104d27
6 changed files with 124 additions and 5 deletions

View file

@ -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>

View file

@ -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"
})