From ed941a8f181f943dfbc8d8abf0959ae1b843b733 Mon Sep 17 00:00:00 2001 From: Gandalf-the-Bot Date: Sun, 1 Oct 2017 23:44:44 +0000 Subject: [PATCH] Bundled output for commit d00c34a72186e61a5f446d882a7145a81098e5f1 [skip ci] --- README.md | 2 +- mithril.js | 2 +- mithril.min.js | 28 ++++++++++++++-------------- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 21055536..105894ed 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ mithril.js [![NPM Version](https://img.shields.io/npm/v/mithril.svg)](https://ww ## What is Mithril? -A modern client-side Javascript framework for building Single Page Applications. It's small (8.42 KB gzipped), fast and provides routing and XHR utilities out of the box. +A modern client-side Javascript framework for building Single Page Applications. It's small (8.43 KB gzipped), fast and provides routing and XHR utilities out of the box. Mithril is used by companies like Vimeo and Nike, and open source platforms like Lichess 👍. diff --git a/mithril.js b/mithril.js index 7bab017d..a953152b 100644 --- a/mithril.js +++ b/mithril.js @@ -843,7 +843,7 @@ var coreRenderer = function($window) { if (key2[0] === "o" && key2[1] === "n") return updateEvent(vnode, key2, value) if ((old === value && !isFormAttribute(vnode, key2)) && typeof value !== "object" || value === undefined) return var element = vnode.dom - if (key2.slice(0, 6) === "xlink:") element.setAttributeNS("http://www.w3.org/1999/xlink", key2.slice(6), value) + if (key2.slice(0, 6) === "xlink:") element.setAttributeNS("http://www.w3.org/1999/xlink", key2, value) else if (key2 === "style") updateStyle(element, old, value) else if (key2 in element && !isAttribute(key2) && ns === undefined && !isCustomElement(vnode)) { if (key2 === "value") { diff --git a/mithril.min.js b/mithril.min.js index 0885ab90..5a8f5c34 100644 --- a/mithril.min.js +++ b/mithril.min.js @@ -28,18 +28,18 @@ y.normalize(e._state.view.call(e.state,e));if(e.instance===e)throw Error("A view t.createDocumentFragment();if(0