From 5eb9c9010bcc305f850fbcfa85ce0b66e2b13ca3 Mon Sep 17 00:00:00 2001 From: Gandalf-the-Bot Date: Fri, 5 Aug 2016 13:46:28 +0000 Subject: [PATCH] Bundled output for commit 88d56cd4ae67a07f0fc33ec2efe87b4a0cdd40dd [skip ci] --- mithril.js | 8 ++++---- mithril.min.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mithril.js b/mithril.js index 51a68fbb..08586738 100644 --- a/mithril.js +++ b/mithril.js @@ -675,11 +675,11 @@ var renderService = function($window) { } //style function updateStyle(element, old, style) { - if (old === style) element.style = "", old = null - if (style == null) element.style = "" - else if (typeof style === "string") element.style = style + if (old === style) element.cssText = "", old = null + if (style == null) element.cssText = "" + else if (typeof style === "string") element.cssText = style else { - if (typeof old === "string") element.style = "" + if (typeof old === "string") element.cssText = "" for (var key in style) { element.style[key] = style[key] } diff --git a/mithril.min.js b/mithril.min.js index 2debfa92..83a9f417 100644 --- a/mithril.min.js +++ b/mithril.min.js @@ -21,7 +21,7 @@ u.normalize(e.tag.view.call(e.state,e)),y(e.tag,e,b,q),null!=e.instance?(null==c e.firstChild)}return e}return a.dom}function m(a,c,e){for(;c