{"push_id":2434748605,"size":1,"distinct_size":1,"ref":"refs/heads/remove-data","head":"b1f7e10337d261d6676f772729f54641876a00fb","before":"2f2bf3dc7e6ac6665b94bef1082ee086d31020af","commits":[{"sha":"b1f7e10337d261d6676f772729f54641876a00fb","author":{"name":"Michał Gołębiowski-Owczarek","email":"55aeccb7617ccfa3aa57bfd209bbf46bb255de97@gmail.com"},"message":"fix(jqLite): make removeData() not remove event handlers\n\nThis change aligns jqLite with jQuery.\n\nFixes #15869\n\nBREAKING CHANGE:\n\nBefore this commit `removeData()` invoked on an element removed its event\nhandlers as well. If you want to trigger a full cleanup of an element, change:\n\n```js\nelem.removeData();\n```\n\nto:\n\n```js\nangular.element.cleanData([elem]);\n```\n\nIn most cases, though, cleaning up after an element is supposed to be done\nonly when it's removed from the DOM as well; in such cases the following:\n\n```js\nelem.remove();\n```\n\nwill remove event handlers as well.","distinct":true,"url":"https://api.github.com/repos/mgol/angular.js/commits/b1f7e10337d261d6676f772729f54641876a00fb"}]}
{"actor":{"display_login":"mgol"}}