From b715e46843dc0803bbd48b64be2391966d8dc07d Mon Sep 17 00:00:00 2001 From: Swizz Date: Sat, 8 Jul 2017 13:14:46 +0200 Subject: [PATCH] Bumper version number and rebuild --- dist/index.js | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 349fc00..d464ae5 100644 --- a/dist/index.js +++ b/dist/index.js @@ -132,7 +132,9 @@ var createTextElement = function (text$$1) { return !text(text$$1) ? undefined : var considerSvg = function (vnode$$1) { return !svg(vnode$$1) ? vnode$$1 : assign(vnode$$1, { data: omit('props', extend(vnode$$1.data, - { ns: 'http://www.w3.org/2000/svg', attrs: vnode$$1.data.props } + { ns: 'http://www.w3.org/2000/svg', attrs: omit('className', extend(vnode$$1.data.props, + { class: vnode$$1.data.props ? vnode$$1.data.props.className : undefined } + )) } )) }, { children: undefinedv(vnode$$1.children) ? undefined : vnode$$1.children.map(function (child) { return considerSvg(child); }) diff --git a/package.json b/package.json index d762ad2..924a5dc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "snabbdom-pragma", - "version": "2.3.0", + "version": "2.4.0", "description": "'NotReact.createElement' pragma although for snabbdom", "keywords": [ "snabbdom",