{"action":"created","issue":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/13615","repository_url":"https://api.github.com/repos/emberjs/ember.js","labels_url":"https://api.github.com/repos/emberjs/ember.js/issues/13615/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/ember.js/issues/13615/comments","events_url":"https://api.github.com/repos/emberjs/ember.js/issues/13615/events","html_url":"https://github.com/emberjs/ember.js/pull/13615","id":158834038,"number":13615,"title":"[Glimmer2] Implement input","user":{"login":"asakusuma","id":597574,"avatar_url":"https://avatars.githubusercontent.com/u/597574?v=3","gravatar_id":"","url":"https://api.github.com/users/asakusuma","html_url":"https://github.com/asakusuma","followers_url":"https://api.github.com/users/asakusuma/followers","following_url":"https://api.github.com/users/asakusuma/following{/other_user}","gists_url":"https://api.github.com/users/asakusuma/gists{/gist_id}","starred_url":"https://api.github.com/users/asakusuma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asakusuma/subscriptions","organizations_url":"https://api.github.com/users/asakusuma/orgs","repos_url":"https://api.github.com/users/asakusuma/repos","events_url":"https://api.github.com/users/asakusuma/events{/privacy}","received_events_url":"https://api.github.com/users/asakusuma/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/emberjs/ember.js/labels/Glimmer2","name":"Glimmer2","color":"1d76db"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2016-06-07T04:08:03Z","updated_at":"2016-06-21T00:14:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/emberjs/ember.js/pulls/13615","html_url":"https://github.com/emberjs/ember.js/pull/13615","diff_url":"https://github.com/emberjs/ember.js/pull/13615.diff","patch_url":"https://github.com/emberjs/ember.js/pull/13615.patch"},"body":"I don't think the late bound stuff can help with implementing `input` since [`lateBound`](https://github.com/emberjs/ember.js/blob/1a61ed01d8e1bf1113b69e0698a7647d2487aec7/packages/ember-glimmer/lib/syntax/curly-component.js#L238-L250) gets called after [`CurlyComponentManager.create`](https://github.com/emberjs/ember.js/blob/1a61ed01d8e1bf1113b69e0698a7647d2487aec7/packages/ember-glimmer/lib/syntax/curly-component.js#L46).\r\n\r\ncc @krisselden @chadhietala @GavinJoyce "},"comment":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/comments/227306970","html_url":"https://github.com/emberjs/ember.js/pull/13615#issuecomment-227306970","issue_url":"https://api.github.com/repos/emberjs/ember.js/issues/13615","id":227306970,"user":{"login":"jdalton","id":4303,"avatar_url":"https://avatars.githubusercontent.com/u/4303?v=3","gravatar_id":"","url":"https://api.github.com/users/jdalton","html_url":"https://github.com/jdalton","followers_url":"https://api.github.com/users/jdalton/followers","following_url":"https://api.github.com/users/jdalton/following{/other_user}","gists_url":"https://api.github.com/users/jdalton/gists{/gist_id}","starred_url":"https://api.github.com/users/jdalton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdalton/subscriptions","organizations_url":"https://api.github.com/users/jdalton/orgs","repos_url":"https://api.github.com/users/jdalton/repos","events_url":"https://api.github.com/users/jdalton/events{/privacy}","received_events_url":"https://api.github.com/users/jdalton/received_events","type":"User","site_admin":false},"created_at":"2016-06-21T00:14:44Z","updated_at":"2016-06-21T00:14:44Z","body":"While making a feature detection for this I noticed that in Chrome:\r\n```js\r\nvar input = document.createElement('input');\r\nvar buggyRemoveAttributeValue = !!(input.value=1,input.removeAttribute('value'),input.value);\r\nconsole.log(buggyRemoveAttributeValue);\r\n// => true\r\n```\r\nbut\r\n```js\r\nvar div = document.createElement('div');\r\ndiv.innerHTML = '<input value=1>';\r\nvar input = div.firstChild;\r\n\r\nvar buggyRemoveAttrValue = !!(input.value=1,input.removeAttribute('value'),input.getAttribute('value'));\r\nconsole.log(buggyRemoveAttrValue)\r\n// => false (but true in Edge)\r\n```\r\n"}}
{"actor":{"display_login":"jdalton"}}