From 3d48eb84c4b8db7aef293011d166afb67b8bebc1 Mon Sep 17 00:00:00 2001 From: Christian S Date: Mon, 4 Jul 2016 08:22:18 +0200 Subject: [PATCH] fix style example in README.md fixes #127 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 516c620..ae569f8 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ var container = document.getElementById('container'); // Patch into empty DOM element – this modifies the DOM as a side effect patch(container, vnode); var newVnode = h('div#container.two.classes', {on: {click: anotherEventHandler}}, [ - h('span', {style: {fontWeight: 'normal', fontStyle: 'italics'}}, 'This is now italics'), + h('span', {style: {fontWeight: 'normal', fontStyle: 'italic'}}, 'This is now italic type'), ' and this is still just normal text', h('a', {props: {href: '/bar'}}, 'I\'ll take you places!') ]);