From 4308b182caa013429c9f742c3ddac5baa5fde9bc Mon Sep 17 00:00:00 2001 From: robinchew Date: Fri, 15 Apr 2016 03:10:50 +0800 Subject: [PATCH] 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 () {