Merge pull request #39 from katyo/master

Some README.md fixes
pull/44/head
Simon Friis Vindum 9 years ago
commit 3b950a06dc

@ -237,6 +237,7 @@ var myModule = {
// invoked whenever a virtual node is updated // invoked whenever a virtual node is updated
} }
}; };
```
With this mechanism you can easily argument the behaviour of With this mechanism you can easily argument the behaviour of
Snabbdom. For demonstration take a look at the implementations of the Snabbdom. For demonstration take a look at the implementations of the
@ -262,7 +263,7 @@ h('a', {class: {active: true, selected: false}}, 'Toggle');
Allows you to set properties on DOM elements. Allows you to set properties on DOM elements.
```javascript ```javascript
h('a', {props: {href: '/foo'}, 'Go to Foo'); h('a', { props: {href: '/foo'} }, 'Go to Foo');
``` ```
### The attributes module ### The attributes module

Loading…
Cancel
Save