{"action":"closed","issue":{"url":"https://api.github.com/repos/dfilatov/vidom/issues/8","labels_url":"https://api.github.com/repos/dfilatov/vidom/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/dfilatov/vidom/issues/8/comments","events_url":"https://api.github.com/repos/dfilatov/vidom/issues/8/events","html_url":"https://github.com/dfilatov/vidom/issues/8","id":95752876,"number":8,"title":"properties names inconsistency","user":{"login":"gaydenko","id":3740016,"avatar_url":"https://avatars.githubusercontent.com/u/3740016?v=3","gravatar_id":"","url":"https://api.github.com/users/gaydenko","html_url":"https://github.com/gaydenko","followers_url":"https://api.github.com/users/gaydenko/followers","following_url":"https://api.github.com/users/gaydenko/following{/other_user}","gists_url":"https://api.github.com/users/gaydenko/gists{/gist_id}","starred_url":"https://api.github.com/users/gaydenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaydenko/subscriptions","organizations_url":"https://api.github.com/users/gaydenko/orgs","repos_url":"https://api.github.com/users/gaydenko/repos","events_url":"https://api.github.com/users/gaydenko/events{/privacy}","received_events_url":"https://api.github.com/users/gaydenko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-17T21:55:13Z","updated_at":"2015-07-18T11:04:45Z","closed_at":"2015-07-18T11:04:45Z","body":"Hi! At the README.md end we get:\r\n```js\r\n    return vidom.createNode('div')\r\n        .attrs({ className : 'input' })\r\n        .children(vidom.createNode('input').attrs({ type : 'text', className : 'input__control' }));\r\n```\r\nAs far as to define CSS class `className` is using, it's natural to conclude DOM node properties are supposed. On the other hand, the function is named as `attrs`. I guess, here we get naming inconsistency, as far as `attributes` is associated with HTML attributes rather than with DOM node properties.\r\n\r\nProbably, the best way is to use both (with some denoted contract who win, say, the last in call chain), that is attributes and properties functions named as `attrs` and `props` respectively (as, say, is done in Trackira), and for now just to rename `attrs` to `props`.\r\n"}}