From 7fbfe2c3ca4ec20434cd5cf9f283ac2152510820 Mon Sep 17 00:00:00 2001 From: Leo Horie Date: Sun, 13 Apr 2014 13:58:59 -0400 Subject: [PATCH] document test --- archive/v0.1.6/mithril-tests.js | 2 ++ archive/v0.1.6/mithril.min.zip | Bin 37945 -> 37945 bytes tests/mithril-tests.js | 2 ++ 3 files changed, 4 insertions(+) diff --git a/archive/v0.1.6/mithril-tests.js b/archive/v0.1.6/mithril-tests.js index 58d4c56f..345546c9 100644 --- a/archive/v0.1.6/mithril-tests.js +++ b/archive/v0.1.6/mithril-tests.js @@ -786,12 +786,14 @@ function testMithril(mock) { return result }) test(function() { + //https://github.com/lhorie/mithril.js/issues/49 var root = mock.document.createElement("div") m.render(root, m("a", "test")) m.render(root, m("a.foo", "test")) return root.childNodes[0].childNodes[0].nodeValue === "test" }) test(function() { + //https://github.com/lhorie/mithril.js/issues/49 var root = mock.document.createElement("div") m.render(root, m("a.foo", "test")) m.render(root, m("a", "test")) diff --git a/archive/v0.1.6/mithril.min.zip b/archive/v0.1.6/mithril.min.zip index 89fac35c51a619512785596862ef8f819cd8e11a..74e709b1fd1261248dec44afcdc150d328699d9e 100644 GIT binary patch delta 60 zcmdnFf@$XpCY}IqW)?065OB@k$TL%c$u)oTas^ux5dADWe+%VY+MD3Yu4WfQd Gb^rh)3lu>B delta 60 zcmdnFf@$XpCY}IqW)?065SSCWk!Pj?)11i7%N1-*K=iYa8FoN=a>HaR5VdErHHi8- G*#Q7Zp%upf diff --git a/tests/mithril-tests.js b/tests/mithril-tests.js index cdb41785..be3c0ddf 100644 --- a/tests/mithril-tests.js +++ b/tests/mithril-tests.js @@ -225,12 +225,14 @@ function testMithril(mock) { return result }) test(function() { + //https://github.com/lhorie/mithril.js/issues/49 var root = mock.document.createElement("div") m.render(root, m("a", "test")) m.render(root, m("a.foo", "test")) return root.childNodes[0].childNodes[0].nodeValue === "test" }) test(function() { + //https://github.com/lhorie/mithril.js/issues/49 var root = mock.document.createElement("div") m.render(root, m("a.foo", "test")) m.render(root, m("a", "test"))