{"action":"created","issue":{"url":"https://api.github.com/repos/qmlweb/qmlweb/issues/263","repository_url":"https://api.github.com/repos/qmlweb/qmlweb","labels_url":"https://api.github.com/repos/qmlweb/qmlweb/issues/263/labels{/name}","comments_url":"https://api.github.com/repos/qmlweb/qmlweb/issues/263/comments","events_url":"https://api.github.com/repos/qmlweb/qmlweb/issues/263/events","html_url":"https://github.com/qmlweb/qmlweb/pull/263","id":159741112,"number":263,"title":"Animation: port to the new module definition syntax (stage-2 variant)","user":{"login":"ChALkeR","id":291301,"avatar_url":"https://avatars.githubusercontent.com/u/291301?v=3","gravatar_id":"","url":"https://api.github.com/users/ChALkeR","html_url":"https://github.com/ChALkeR","followers_url":"https://api.github.com/users/ChALkeR/followers","following_url":"https://api.github.com/users/ChALkeR/following{/other_user}","gists_url":"https://api.github.com/users/ChALkeR/gists{/gist_id}","starred_url":"https://api.github.com/users/ChALkeR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChALkeR/subscriptions","organizations_url":"https://api.github.com/users/ChALkeR/orgs","repos_url":"https://api.github.com/users/ChALkeR/repos","events_url":"https://api.github.com/users/ChALkeR/events{/privacy}","received_events_url":"https://api.github.com/users/ChALkeR/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/qmlweb/qmlweb/labels/cleanup","name":"cleanup","color":"00a3e3"},{"url":"https://api.github.com/repos/qmlweb/qmlweb/labels/discuss","name":"discuss","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-10T23:23:25Z","updated_at":"2016-09-12T20:44:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/qmlweb/qmlweb/pulls/263","html_url":"https://github.com/qmlweb/qmlweb/pull/263","diff_url":"https://github.com/qmlweb/qmlweb/pull/263.diff","patch_url":"https://github.com/qmlweb/qmlweb/pull/263.patch"},"body":"This ports `Animation` to the new module definition syntax to showcase my proposal in #260.\r\n\r\nThis is alternative to #261 and uses an even nicer syntax, but requires a ~~`stage-1`~~ `stage-2` transform to support [ES Class Fields & Static Properties](https://github.com/jeffmo/es-class-fields-and-static-properties) ~~`stage-1`~~ `stage-2` proposal. **Upd:** it's `stage-2` now.\r\n\r\n`stage-1` means that it's just a proposal, and there are considerable chances that it won't be included to the ECMAScript spec or will be significantly overhauled before being included to the spec (major changes are expected). See [TC39 Process](https://tc39.github.io/process-document/) for more info on that.\r\n\r\nI doubt that we want this atm, perhaps we should wait until it reaches `stage-2` or `stage-3`.\r\n\r\nI landed runtime support for this syntax in 188e9fd (i.e. for passing a `function` to `registerQmlType`).\r\n\r\n/cc @akreuzkamp @Plaristote "},"comment":{"url":"https://api.github.com/repos/qmlweb/qmlweb/issues/comments/246486516","html_url":"https://github.com/qmlweb/qmlweb/pull/263#issuecomment-246486516","issue_url":"https://api.github.com/repos/qmlweb/qmlweb/issues/263","id":246486516,"user":{"login":"ChALkeR","id":291301,"avatar_url":"https://avatars.githubusercontent.com/u/291301?v=3","gravatar_id":"","url":"https://api.github.com/users/ChALkeR","html_url":"https://github.com/ChALkeR","followers_url":"https://api.github.com/users/ChALkeR/followers","following_url":"https://api.github.com/users/ChALkeR/following{/other_user}","gists_url":"https://api.github.com/users/ChALkeR/gists{/gist_id}","starred_url":"https://api.github.com/users/ChALkeR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChALkeR/subscriptions","organizations_url":"https://api.github.com/users/ChALkeR/orgs","repos_url":"https://api.github.com/users/ChALkeR/repos","events_url":"https://api.github.com/users/ChALkeR/events{/privacy}","received_events_url":"https://api.github.com/users/ChALkeR/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T20:44:27Z","updated_at":"2016-09-12T20:44:27Z","body":"Tests broken because of coverage being broken, I will take a look at that if we choose to adopt this syntax."}}
{"actor":{"display_login":"ChALkeR"}}