{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/b7c3e74b81432a7559b09adaa0dceffe?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b7c3e74b81432a7559b09adaa0dceffe","url":"https://api.github.com/users/bhollis","login":"bhollis","id":313208},"updated_at":"2011-10-30T13:55:47Z","labels":[],"assignee":null,"closed_at":null,"comments":3,"url":"https://api.github.com/repos/mishoo/UglifyJS/issues/219","body":"It's pretty common convention to mark \"private\" methods in JS objects and classes with an undercore. Those methods aren't meant to be called by methods not part of the same object/class even though they're not particularly hidden. It'd be really nice if UglifyJS had an option (off by default) that would mangle all properties in an object/class that start with an underscore. As it is now, those properties get preserved and contribute to file size (at declaration and at all call sites) even though they don't need to be accessed anywhere else.\r\n\r\nThis is sorta related to https://github.com/mishoo/UglifyJS/issues/23","html_url":"https://github.com/mishoo/UglifyJS/issues/219","title":"Option to mangle 'private' object/class properties","number":219,"id":1575068,"created_at":"2011-09-06T04:20:42Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/b7c3e74b81432a7559b09adaa0dceffe?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b7c3e74b81432a7559b09adaa0dceffe","url":"https://api.github.com/users/bhollis","login":"bhollis","id":313208},"updated_at":"2011-10-30T13:55:47Z","url":"https://api.github.com/repos/mishoo/UglifyJS/issues/comments/2569626","body":"Why would it matter that the mangled names still had an underscore?","id":2569626,"created_at":"2011-10-30T13:55:47Z"}}