{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/5104","repository_url":"https://api.github.com/repos/HaxeFoundation/haxe","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/5104/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/5104/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/5104/events","html_url":"https://github.com/HaxeFoundation/haxe/issues/5104","id":147658063,"number":5104,"title":"ES5 Getter / Setter","user":{"login":"eduardo-costa","id":5433382,"avatar_url":"https://avatars.githubusercontent.com/u/5433382?v=3","gravatar_id":"","url":"https://api.github.com/users/eduardo-costa","html_url":"https://github.com/eduardo-costa","followers_url":"https://api.github.com/users/eduardo-costa/followers","following_url":"https://api.github.com/users/eduardo-costa/following{/other_user}","gists_url":"https://api.github.com/users/eduardo-costa/gists{/gist_id}","starred_url":"https://api.github.com/users/eduardo-costa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduardo-costa/subscriptions","organizations_url":"https://api.github.com/users/eduardo-costa/orgs","repos_url":"https://api.github.com/users/eduardo-costa/repos","events_url":"https://api.github.com/users/eduardo-costa/events{/privacy}","received_events_url":"https://api.github.com/users/eduardo-costa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HaxeFoundation/haxe/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/HaxeFoundation/haxe/labels/platform-javascript","name":"platform-javascript","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/milestones/9","html_url":"https://github.com/HaxeFoundation/haxe/milestones/3.4","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/milestones/9/labels","id":1152081,"number":9,"title":"3.4","description":"","creator":{"login":"Simn","id":634365,"avatar_url":"https://avatars.githubusercontent.com/u/634365?v=3","gravatar_id":"","url":"https://api.github.com/users/Simn","html_url":"https://github.com/Simn","followers_url":"https://api.github.com/users/Simn/followers","following_url":"https://api.github.com/users/Simn/following{/other_user}","gists_url":"https://api.github.com/users/Simn/gists{/gist_id}","starred_url":"https://api.github.com/users/Simn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Simn/subscriptions","organizations_url":"https://api.github.com/users/Simn/orgs","repos_url":"https://api.github.com/users/Simn/repos","events_url":"https://api.github.com/users/Simn/events{/privacy}","received_events_url":"https://api.github.com/users/Simn/received_events","type":"User","site_admin":false},"open_issues":284,"closed_issues":16,"state":"open","created_at":"2015-06-05T20:50:14Z","updated_at":"2016-04-12T07:30:46Z","due_on":"2016-11-05T23:00:00Z","closed_at":null},"comments":9,"created_at":"2016-04-12T07:21:33Z","updated_at":"2016-04-12T07:32:31Z","closed_at":null,"body":"Can we have the get/set features of ES5?\r\nIt will allow javascript libs to be compiled and used outside the Haxe scope.\r\n```\r\n//Vector2.hx\r\npublic class Vector2 {\r\n public var x : Float;\r\n public var y: Float;\r\n public var length(get,set):Float;\r\n private function get_length() : Float { ... }\r\n private function set_length(v:Float) : Float { ... }\r\n}\r\n```\r\n```\r\n//Vector2.js\r\n/* ... */\r\nVector2.prototype = {\r\n get length: this.get_length,\r\n set length: this.set_length,\r\n/*... */\r\n};\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/comments/208754976","html_url":"https://github.com/HaxeFoundation/haxe/issues/5104#issuecomment-208754976","issue_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/5104","id":208754976,"user":{"login":"eduardo-costa","id":5433382,"avatar_url":"https://avatars.githubusercontent.com/u/5433382?v=3","gravatar_id":"","url":"https://api.github.com/users/eduardo-costa","html_url":"https://github.com/eduardo-costa","followers_url":"https://api.github.com/users/eduardo-costa/followers","following_url":"https://api.github.com/users/eduardo-costa/following{/other_user}","gists_url":"https://api.github.com/users/eduardo-costa/gists{/gist_id}","starred_url":"https://api.github.com/users/eduardo-costa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduardo-costa/subscriptions","organizations_url":"https://api.github.com/users/eduardo-costa/orgs","repos_url":"https://api.github.com/users/eduardo-costa/repos","events_url":"https://api.github.com/users/eduardo-costa/events{/privacy}","received_events_url":"https://api.github.com/users/eduardo-costa/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T07:32:31Z","updated_at":"2016-04-12T07:32:31Z","body":"Thanks!\r\n"}}