GitHub PullRequestReviewCommentEvent at 2014-04-06 13:28:59
Repository: flixel
Actor: Gama11
Payload: {"comment":{"url":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/comments/11326155","id":11326155,"diff_hunk":"@@ -0,0 +1,222 @@\n+package flixel.util.signals;\n+import flixel.interfaces.IFlxDestroyable;\n+import flixel.util.signals.FlxSignalHandler;\n+\n+/**\n+ * ...\n+ * @author Kevin\n+ */\n+typedef AnyHandler = FlxSignalHandler<Dynamic>;\n+typedef AnySignal = FlxSignal<Dynamic, Dynamic>;\n+ \n+private class FlxSignal<THandler:AnyHandler, TListener> implements IFlxDestroyable\n+{\n+\t/**\n+\t * If this signal is active and should dispatch events. IMPORTANT: Setting this \n+\t * property during a  dispatch will only affect the next dispatch.\n+\t */\n+\tpublic var active:Bool = true;\t\n+\t\n+\tprivate var _handlers:Array<THandler>;\t\n+\t\n+\tpublic function new() \n+\t{\n+\t\t_handlers = [];\t\t\t\n+\t}\n+\t\n+\tpublic function add(listener:TListener)","path":"flixel/util/signals/FlxSignal.hx","position":27,"original_position":27,"commit_id":"79f2bb8f389262346af0b982e4e1bac8b050e99e","original_commit_id":"79f2bb8f389262346af0b982e4e1bac8b050e99e","user":{"login":"Gama11","id":2620907,"avatar_url":"https://avatars.githubusercontent.com/u/2620907?","gravatar_id":"faf350239a4a63b2ba97d90e51860c79","url":"https://api.github.com/users/Gama11","html_url":"https://github.com/Gama11","followers_url":"https://api.github.com/users/Gama11/followers","following_url":"https://api.github.com/users/Gama11/following{/other_user}","gists_url":"https://api.github.com/users/Gama11/gists{/gist_id}","starred_url":"https://api.github.com/users/Gama11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gama11/subscriptions","organizations_url":"https://api.github.com/users/Gama11/orgs","repos_url":"https://api.github.com/users/Gama11/repos","events_url":"https://api.github.com/users/Gama11/events{/privacy}","received_events_url":"https://api.github.com/users/Gama11/received_events","type":"User","site_admin":false},"body":"Should always inline one-liners like this.","created_at":"2014-04-06T13:28:59Z","updated_at":"2014-04-06T13:28:59Z","html_url":"https://github.com/HaxeFlixel/flixel/pull/969#discussion_r11326155","pull_request_url":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/969","_links":{"self":{"href":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/comments/11326155"},"html":{"href":"https://github.com/HaxeFlixel/flixel/pull/969#discussion_r11326155"},"pull_request":{"href":"https://api.github.com/repos/HaxeFlixel/flixel/pulls/969"}}}}