From ec69af46600051808d2745fee90bf98485faddc2 Mon Sep 17 00:00:00 2001 From: Leo Horie Date: Mon, 2 Jun 2014 07:32:24 -0400 Subject: [PATCH] unbreak browserify --- mithril.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mithril.js b/mithril.js index 2dc953c6..f5631848 100644 --- a/mithril.js +++ b/mithril.js @@ -530,7 +530,7 @@ Mithril = m = new function app(window) { m.deps.factory = app return m -}(this) +}(typeof window != "undefined" ? window : {}) if (typeof module != "undefined" && module !== null) module.exports = m if (typeof define == "function" && define.amd) define(function() {return m})