{"push_id":2761593368,"size":1,"distinct_size":1,"ref":"refs/heads/fix-uglify","head":"be14d0de1742024af5766c98b9e4b5fae7eb45eb","before":"63b30cae37ad17daef7bb8e29f813c3944d87a58","commits":[{"sha":"be14d0de1742024af5766c98b9e4b5fae7eb45eb","author":{"name":"Staś Małolepszy","email":"bef361c46d3d1fa291296f6d65d7f2ef6cbcf237@mozilla.com"},"message":"fluent-syntax: Avoid forEach to make code more minification-friendly\n\nThis fixes an obscure bug in uglify-es. The minified code inlined the\nwithSpans decorator in a way which put the fn argument in an outer\nscope.  The decorated function closed over fn and when the time came to\ncall it, it would call a different function than the one that was\ndecorated.\n\nUsing a regular for-of loop seems to have fixed the bug. Tested using:\n\n    \"uglify-es\": \"^3.3.4\",\n    \"uglifyjs-webpack-plugin\": \"1.2.5\",\n    \"react-scripts\": \"^2.0.0-next.3e165448\"","distinct":true,"url":"https://api.github.com/repos/stasm/fluent.js/commits/be14d0de1742024af5766c98b9e4b5fae7eb45eb"}]}
{"actor":{"display_login":"stasm"}}