GitHub PullRequestReviewCommentEvent at 2014-12-20 15:13:18
Repository: Sponge.js
Actor: OscarOrSomething
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/FoundationDriven/Sponge.js/pulls/comments/22142070","id":22142070,"diff_hunk":"@@ -0,0 +1,29 @@\n+package io.foundationdriven.sponge.js;\n+\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+import org.spongepowered.api.event.state.InitializationEvent;\n+import org.spongepowered.api.plugin.Plugin;\n+import org.spongepowered.api.util.event.Subscribe;\n+\n+@Plugin(id = \"spongejs\", name = \"Sponge.JS\", version = \"DEV\")\n+public class SpongePlugin {\n+    private static SpongePlugin instance;\n+\n+    public static Logger getLogger() {\n+        return logger;\n+    }\n+\n+    private static Logger logger;\n+\n+    @Subscribe\n+    public void startup(InitializationEvent e) {\n+        if (instance != null) {\n+            throw new RuntimeException(\"Sponge.JS cannot be enabled more than once per server!\");","path":"src/main/java/io/foundationdriven/sponge/js/SpongePlugin.java","position":22,"original_position":22,"commit_id":"6e5dafb6f8de3b3c75ffd5f524344f9b0c711215","original_commit_id":"6e5dafb6f8de3b3c75ffd5f524344f9b0c711215","user":{"login":"OscarOrSomething","id":4183876,"avatar_url":"https://avatars.githubusercontent.com/u/4183876?v=3","gravatar_id":"","url":"https://api.github.com/users/OscarOrSomething","html_url":"https://github.com/OscarOrSomething","followers_url":"https://api.github.com/users/OscarOrSomething/followers","following_url":"https://api.github.com/users/OscarOrSomething/following{/other_user}","gists_url":"https://api.github.com/users/OscarOrSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/OscarOrSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OscarOrSomething/subscriptions","organizations_url":"https://api.github.com/users/OscarOrSomething/orgs","repos_url":"https://api.github.com/users/OscarOrSomething/repos","events_url":"https://api.github.com/users/OscarOrSomething/events{/privacy}","received_events_url":"https://api.github.com/users/OscarOrSomething/received_events","type":"User","site_admin":false},"body":"I just got it from the LWC example plugin","created_at":"2014-12-20T15:13:18Z","updated_at":"2014-12-20T15:13:18Z","html_url":"https://github.com/FoundationDriven/Sponge.js/pull/1#discussion_r22142070","pull_request_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/FoundationDriven/Sponge.js/pulls/comments/22142070"},"html":{"href":"https://github.com/FoundationDriven/Sponge.js/pull/1#discussion_r22142070"},"pull_request":{"href":"https://api.github.com/repos/FoundationDriven/Sponge.js/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/FoundationDriven/Sponge.js/pulls/1","id":26251904,"html_url":"https://github.com/FoundationDriven/Sponge.js/pull/1","diff_url":"https://github.com/FoundationDriven/Sponge.js/pull/1.diff","patch_url":"https://github.com/FoundationDriven/Sponge.js/pull/1.patch","issue_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/issues/1","number":1,"state":"closed","locked":false,"title":"Draft of basic functionality","user":{"login":"OscarOrSomething","id":4183876,"avatar_url":"https://avatars.githubusercontent.com/u/4183876?v=3","gravatar_id":"","url":"https://api.github.com/users/OscarOrSomething","html_url":"https://github.com/OscarOrSomething","followers_url":"https://api.github.com/users/OscarOrSomething/followers","following_url":"https://api.github.com/users/OscarOrSomething/following{/other_user}","gists_url":"https://api.github.com/users/OscarOrSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/OscarOrSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OscarOrSomething/subscriptions","organizations_url":"https://api.github.com/users/OscarOrSomething/orgs","repos_url":"https://api.github.com/users/OscarOrSomething/repos","events_url":"https://api.github.com/users/OscarOrSomething/events{/privacy}","received_events_url":"https://api.github.com/users/OscarOrSomething/received_events","type":"User","site_admin":false},"body":"**This may or may not work**\r\n\r\nCan\r\n---\r\n  * Load files from ./scripts directory\r\n  * Pass them into the java script engine\r\n  * Relay events\r\n\r\n","created_at":"2014-12-17T20:00:29Z","updated_at":"2014-12-20T15:13:18Z","closed_at":"2014-12-17T20:46:24Z","merged_at":"2014-12-17T20:46:24Z","merge_commit_sha":"7a2cb6aaa0abb071061f13ff1159e2635912935d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/pulls/1/commits","review_comments_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/pulls/1/comments","review_comment_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/pulls/comments/{number}","comments_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/issues/1/comments","statuses_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/statuses/6e5dafb6f8de3b3c75ffd5f524344f9b0c711215","head":{"label":"OscarOrSomething:master","ref":"master","sha":"6e5dafb6f8de3b3c75ffd5f524344f9b0c711215","user":{"login":"OscarOrSomething","id":4183876,"avatar_url":"https://avatars.githubusercontent.com/u/4183876?v=3","gravatar_id":"","url":"https://api.github.com/users/OscarOrSomething","html_url":"https://github.com/OscarOrSomething","followers_url":"https://api.github.com/users/OscarOrSomething/followers","following_url":"https://api.github.com/users/OscarOrSomething/following{/other_user}","gists_url":"https://api.github.com/users/OscarOrSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/OscarOrSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OscarOrSomething/subscriptions","organizations_url":"https://api.github.com/users/OscarOrSomething/orgs","repos_url":"https://api.github.com/users/OscarOrSomething/repos","events_url":"https://api.github.com/users/OscarOrSomething/events{/privacy}","received_events_url":"https://api.github.com/users/OscarOrSomething/received_events","type":"User","site_admin":false},"repo":{"id":28148957,"name":"Sponge.js","full_name":"OscarOrSomething/Sponge.js","owner":{"login":"OscarOrSomething","id":4183876,"avatar_url":"https://avatars.githubusercontent.com/u/4183876?v=3","gravatar_id":"","url":"https://api.github.com/users/OscarOrSomething","html_url":"https://github.com/OscarOrSomething","followers_url":"https://api.github.com/users/OscarOrSomething/followers","following_url":"https://api.github.com/users/OscarOrSomething/following{/other_user}","gists_url":"https://api.github.com/users/OscarOrSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/OscarOrSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OscarOrSomething/subscriptions","organizations_url":"https://api.github.com/users/OscarOrSomething/orgs","repos_url":"https://api.github.com/users/OscarOrSomething/repos","events_url":"https://api.github.com/users/OscarOrSomething/events{/privacy}","received_events_url":"https://api.github.com/users/OscarOrSomething/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/OscarOrSomething/Sponge.js","description":"Sponge.js provides scripting functionality to your servers.","fork":true,"url":"https://api.github.com/repos/OscarOrSomething/Sponge.js","forks_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/forks","keys_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/teams","hooks_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/hooks","issue_events_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/issues/events{/number}","events_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/events","assignees_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/assignees{/user}","branches_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/branches{/branch}","tags_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/tags","blobs_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/statuses/{sha}","languages_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/languages","stargazers_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/stargazers","contributors_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/contributors","subscribers_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/subscribers","subscription_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/subscription","commits_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/issues/comments/{number}","contents_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/contents/{+path}","compare_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/merges","archive_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/downloads","issues_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/issues{/number}","pulls_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/pulls{/number}","milestones_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/milestones{/number}","notifications_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/labels{/name}","releases_url":"https://api.github.com/repos/OscarOrSomething/Sponge.js/releases{/id}","created_at":"2014-12-17T18:04:27Z","updated_at":"2014-12-17T19:58:51Z","pushed_at":"2014-12-17T19:58:49Z","git_url":"git://github.com/OscarOrSomething/Sponge.js.git","ssh_url":"git@github.com:OscarOrSomething/Sponge.js.git","clone_url":"https://github.com/OscarOrSomething/Sponge.js.git","svn_url":"https://github.com/OscarOrSomething/Sponge.js","homepage":null,"size":100,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"FoundationDriven:master","ref":"master","sha":"e5cce6d466b46dbc4cd9c706350dbd59c88fd2bf","user":{"login":"FoundationDriven","id":8837108,"avatar_url":"https://avatars.githubusercontent.com/u/8837108?v=3","gravatar_id":"","url":"https://api.github.com/users/FoundationDriven","html_url":"https://github.com/FoundationDriven","followers_url":"https://api.github.com/users/FoundationDriven/followers","following_url":"https://api.github.com/users/FoundationDriven/following{/other_user}","gists_url":"https://api.github.com/users/FoundationDriven/gists{/gist_id}","starred_url":"https://api.github.com/users/FoundationDriven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FoundationDriven/subscriptions","organizations_url":"https://api.github.com/users/FoundationDriven/orgs","repos_url":"https://api.github.com/users/FoundationDriven/repos","events_url":"https://api.github.com/users/FoundationDriven/events{/privacy}","received_events_url":"https://api.github.com/users/FoundationDriven/received_events","type":"Organization","site_admin":false},"repo":{"id":27344922,"name":"Sponge.js","full_name":"FoundationDriven/Sponge.js","owner":{"login":"FoundationDriven","id":8837108,"avatar_url":"https://avatars.githubusercontent.com/u/8837108?v=3","gravatar_id":"","url":"https://api.github.com/users/FoundationDriven","html_url":"https://github.com/FoundationDriven","followers_url":"https://api.github.com/users/FoundationDriven/followers","following_url":"https://api.github.com/users/FoundationDriven/following{/other_user}","gists_url":"https://api.github.com/users/FoundationDriven/gists{/gist_id}","starred_url":"https://api.github.com/users/FoundationDriven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FoundationDriven/subscriptions","organizations_url":"https://api.github.com/users/FoundationDriven/orgs","repos_url":"https://api.github.com/users/FoundationDriven/repos","events_url":"https://api.github.com/users/FoundationDriven/events{/privacy}","received_events_url":"https://api.github.com/users/FoundationDriven/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FoundationDriven/Sponge.js","description":"Sponge.js provides scripting functionality to your servers.","fork":false,"url":"https://api.github.com/repos/FoundationDriven/Sponge.js","forks_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/forks","keys_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/teams","hooks_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/hooks","issue_events_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/issues/events{/number}","events_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/events","assignees_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/assignees{/user}","branches_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/branches{/branch}","tags_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/tags","blobs_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/statuses/{sha}","languages_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/languages","stargazers_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/stargazers","contributors_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/contributors","subscribers_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/subscribers","subscription_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/subscription","commits_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/issues/comments/{number}","contents_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/contents/{+path}","compare_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/merges","archive_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/downloads","issues_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/issues{/number}","pulls_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/pulls{/number}","milestones_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/milestones{/number}","notifications_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/labels{/name}","releases_url":"https://api.github.com/repos/FoundationDriven/Sponge.js/releases{/id}","created_at":"2014-11-30T18:04:37Z","updated_at":"2014-12-17T21:50:52Z","pushed_at":"2014-12-17T21:50:51Z","git_url":"git://github.com/FoundationDriven/Sponge.js.git","ssh_url":"git@github.com:FoundationDriven/Sponge.js.git","clone_url":"https://github.com/FoundationDriven/Sponge.js.git","svn_url":"https://github.com/FoundationDriven/Sponge.js","homepage":null,"size":100,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FoundationDriven/Sponge.js/pulls/1"},"html":{"href":"https://github.com/FoundationDriven/Sponge.js/pull/1"},"issue":{"href":"https://api.github.com/repos/FoundationDriven/Sponge.js/issues/1"},"comments":{"href":"https://api.github.com/repos/FoundationDriven/Sponge.js/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/FoundationDriven/Sponge.js/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/FoundationDriven/Sponge.js/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/FoundationDriven/Sponge.js/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/FoundationDriven/Sponge.js/statuses/6e5dafb6f8de3b3c75ffd5f524344f9b0c711215"}}}}