From 4308b182caa013429c9f742c3ddac5baa5fde9bc Mon Sep 17 00:00:00 2001 From: robinchew Date: Fri, 15 Apr 2016 03:10:50 +0800 Subject: [PATCH 1/2] Traceur Support traceur --script mithril-v0.2.3.js code-that-calls-m.js --- mithril.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mithril.js b/mithril.js index 4f74e9d5..1114ac8f 100644 --- a/mithril.js +++ b/mithril.js @@ -10,7 +10,7 @@ global.m = m } /* eslint-enable no-undef */ -})(typeof window !== "undefined" ? window : {}, function (global, undefined) { // eslint-disable-line +})(typeof window !== "undefined" ? window : this, function (global, undefined) { // eslint-disable-line "use strict" m.version = function () { From bb321e68d382af74367419dcc82c82a6d785ac8e Mon Sep 17 00:00:00 2001 From: Isiah Meadows Date: Tue, 19 Apr 2016 23:00:38 -0400 Subject: [PATCH 2/2] Clarify why a test is broken. [ci skip] --- test/mithril.trust.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/mithril.trust.js b/test/mithril.trust.js index 71463edd..17727a0d 100644 --- a/test/mithril.trust.js +++ b/test/mithril.trust.js @@ -41,7 +41,7 @@ describe("m.trust()", function () { expect(root.childNodes[3].tagName).to.equal("I") }) - // TODO: this currently fails. + // TODO: m.trust's contents are having their tags stripped. xit("works with mixed trusted content in td", function () { var root = document.createElement("table") root.appendChild(root = document.createElement("tr"))