{"action":"opened","number":33,"pull_request":{"url":"https://api.github.com/repos/Elgg/mentions/pulls/33","id":58425204,"html_url":"https://github.com/Elgg/mentions/pull/33","diff_url":"https://github.com/Elgg/mentions/pull/33.diff","patch_url":"https://github.com/Elgg/mentions/pull/33.patch","issue_url":"https://api.github.com/repos/Elgg/mentions/issues/33","number":33,"state":"open","locked":false,"title":"Moves editor specific parts of the code to separate AMD modules","user":{"login":"juho-jaakkola","id":883920,"avatar_url":"https://avatars.githubusercontent.com/u/883920?v=3","gravatar_id":"","url":"https://api.github.com/users/juho-jaakkola","html_url":"https://github.com/juho-jaakkola","followers_url":"https://api.github.com/users/juho-jaakkola/followers","following_url":"https://api.github.com/users/juho-jaakkola/following{/other_user}","gists_url":"https://api.github.com/users/juho-jaakkola/gists{/gist_id}","starred_url":"https://api.github.com/users/juho-jaakkola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juho-jaakkola/subscriptions","organizations_url":"https://api.github.com/users/juho-jaakkola/orgs","repos_url":"https://api.github.com/users/juho-jaakkola/repos","events_url":"https://api.github.com/users/juho-jaakkola/events{/privacy}","received_events_url":"https://api.github.com/users/juho-jaakkola/received_events","type":"User","site_admin":false},"body":"I did this quite quickly, so I'm not completely sure if this is the best way to separate concerns.\r\n\r\nTested with CKEditor and regular textarea. Multiline support for CKEditor is broken, but that was the case also before the PR.","created_at":"2016-02-05T12:53:38Z","updated_at":"2016-02-05T12:53:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Elgg/mentions/pulls/33/commits","review_comments_url":"https://api.github.com/repos/Elgg/mentions/pulls/33/comments","review_comment_url":"https://api.github.com/repos/Elgg/mentions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Elgg/mentions/issues/33/comments","statuses_url":"https://api.github.com/repos/Elgg/mentions/statuses/ec6c3e6a64454c0d51f310fe16376daea79d6d0d","head":{"label":"juho-jaakkola:editor_modules","ref":"editor_modules","sha":"ec6c3e6a64454c0d51f310fe16376daea79d6d0d","user":{"login":"juho-jaakkola","id":883920,"avatar_url":"https://avatars.githubusercontent.com/u/883920?v=3","gravatar_id":"","url":"https://api.github.com/users/juho-jaakkola","html_url":"https://github.com/juho-jaakkola","followers_url":"https://api.github.com/users/juho-jaakkola/followers","following_url":"https://api.github.com/users/juho-jaakkola/following{/other_user}","gists_url":"https://api.github.com/users/juho-jaakkola/gists{/gist_id}","starred_url":"https://api.github.com/users/juho-jaakkola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juho-jaakkola/subscriptions","organizations_url":"https://api.github.com/users/juho-jaakkola/orgs","repos_url":"https://api.github.com/users/juho-jaakkola/repos","events_url":"https://api.github.com/users/juho-jaakkola/events{/privacy}","received_events_url":"https://api.github.com/users/juho-jaakkola/received_events","type":"User","site_admin":false},"repo":{"id":6241023,"name":"mentions","full_name":"juho-jaakkola/mentions","owner":{"login":"juho-jaakkola","id":883920,"avatar_url":"https://avatars.githubusercontent.com/u/883920?v=3","gravatar_id":"","url":"https://api.github.com/users/juho-jaakkola","html_url":"https://github.com/juho-jaakkola","followers_url":"https://api.github.com/users/juho-jaakkola/followers","following_url":"https://api.github.com/users/juho-jaakkola/following{/other_user}","gists_url":"https://api.github.com/users/juho-jaakkola/gists{/gist_id}","starred_url":"https://api.github.com/users/juho-jaakkola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juho-jaakkola/subscriptions","organizations_url":"https://api.github.com/users/juho-jaakkola/orgs","repos_url":"https://api.github.com/users/juho-jaakkola/repos","events_url":"https://api.github.com/users/juho-jaakkola/events{/privacy}","received_events_url":"https://api.github.com/users/juho-jaakkola/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/juho-jaakkola/mentions","description":"Rewrite all @username mentions to link to profile and optionally notify user","fork":true,"url":"https://api.github.com/repos/juho-jaakkola/mentions","forks_url":"https://api.github.com/repos/juho-jaakkola/mentions/forks","keys_url":"https://api.github.com/repos/juho-jaakkola/mentions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juho-jaakkola/mentions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juho-jaakkola/mentions/teams","hooks_url":"https://api.github.com/repos/juho-jaakkola/mentions/hooks","issue_events_url":"https://api.github.com/repos/juho-jaakkola/mentions/issues/events{/number}","events_url":"https://api.github.com/repos/juho-jaakkola/mentions/events","assignees_url":"https://api.github.com/repos/juho-jaakkola/mentions/assignees{/user}","branches_url":"https://api.github.com/repos/juho-jaakkola/mentions/branches{/branch}","tags_url":"https://api.github.com/repos/juho-jaakkola/mentions/tags","blobs_url":"https://api.github.com/repos/juho-jaakkola/mentions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juho-jaakkola/mentions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juho-jaakkola/mentions/git/refs{/sha}","trees_url":"https://api.github.com/repos/juho-jaakkola/mentions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juho-jaakkola/mentions/statuses/{sha}","languages_url":"https://api.github.com/repos/juho-jaakkola/mentions/languages","stargazers_url":"https://api.github.com/repos/juho-jaakkola/mentions/stargazers","contributors_url":"https://api.github.com/repos/juho-jaakkola/mentions/contributors","subscribers_url":"https://api.github.com/repos/juho-jaakkola/mentions/subscribers","subscription_url":"https://api.github.com/repos/juho-jaakkola/mentions/subscription","commits_url":"https://api.github.com/repos/juho-jaakkola/mentions/commits{/sha}","git_commits_url":"https://api.github.com/repos/juho-jaakkola/mentions/git/commits{/sha}","comments_url":"https://api.github.com/repos/juho-jaakkola/mentions/comments{/number}","issue_comment_url":"https://api.github.com/repos/juho-jaakkola/mentions/issues/comments{/number}","contents_url":"https://api.github.com/repos/juho-jaakkola/mentions/contents/{+path}","compare_url":"https://api.github.com/repos/juho-jaakkola/mentions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juho-jaakkola/mentions/merges","archive_url":"https://api.github.com/repos/juho-jaakkola/mentions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juho-jaakkola/mentions/downloads","issues_url":"https://api.github.com/repos/juho-jaakkola/mentions/issues{/number}","pulls_url":"https://api.github.com/repos/juho-jaakkola/mentions/pulls{/number}","milestones_url":"https://api.github.com/repos/juho-jaakkola/mentions/milestones{/number}","notifications_url":"https://api.github.com/repos/juho-jaakkola/mentions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juho-jaakkola/mentions/labels{/name}","releases_url":"https://api.github.com/repos/juho-jaakkola/mentions/releases{/id}","deployments_url":"https://api.github.com/repos/juho-jaakkola/mentions/deployments","created_at":"2012-10-16T08:15:56Z","updated_at":"2014-12-15T08:25:28Z","pushed_at":"2016-02-05T12:49:24Z","git_url":"git://github.com/juho-jaakkola/mentions.git","ssh_url":"git@github.com:juho-jaakkola/mentions.git","clone_url":"https://github.com/juho-jaakkola/mentions.git","svn_url":"https://github.com/juho-jaakkola/mentions","homepage":"","size":43,"stargazers_count":1,"watchers_count":1,"language":"PHP","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":1,"default_branch":"master"}},"base":{"label":"Elgg:master","ref":"master","sha":"566ff74f1795fc711689147af095715b1b2b60fe","user":{"login":"Elgg","id":79167,"avatar_url":"https://avatars.githubusercontent.com/u/79167?v=3","gravatar_id":"","url":"https://api.github.com/users/Elgg","html_url":"https://github.com/Elgg","followers_url":"https://api.github.com/users/Elgg/followers","following_url":"https://api.github.com/users/Elgg/following{/other_user}","gists_url":"https://api.github.com/users/Elgg/gists{/gist_id}","starred_url":"https://api.github.com/users/Elgg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elgg/subscriptions","organizations_url":"https://api.github.com/users/Elgg/orgs","repos_url":"https://api.github.com/users/Elgg/repos","events_url":"https://api.github.com/users/Elgg/events{/privacy}","received_events_url":"https://api.github.com/users/Elgg/received_events","type":"Organization","site_admin":false},"repo":{"id":1891774,"name":"mentions","full_name":"Elgg/mentions","owner":{"login":"Elgg","id":79167,"avatar_url":"https://avatars.githubusercontent.com/u/79167?v=3","gravatar_id":"","url":"https://api.github.com/users/Elgg","html_url":"https://github.com/Elgg","followers_url":"https://api.github.com/users/Elgg/followers","following_url":"https://api.github.com/users/Elgg/following{/other_user}","gists_url":"https://api.github.com/users/Elgg/gists{/gist_id}","starred_url":"https://api.github.com/users/Elgg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elgg/subscriptions","organizations_url":"https://api.github.com/users/Elgg/orgs","repos_url":"https://api.github.com/users/Elgg/repos","events_url":"https://api.github.com/users/Elgg/events{/privacy}","received_events_url":"https://api.github.com/users/Elgg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Elgg/mentions","description":"Rewrite all @username mentions to link to profile and optionally notify user","fork":false,"url":"https://api.github.com/repos/Elgg/mentions","forks_url":"https://api.github.com/repos/Elgg/mentions/forks","keys_url":"https://api.github.com/repos/Elgg/mentions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Elgg/mentions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Elgg/mentions/teams","hooks_url":"https://api.github.com/repos/Elgg/mentions/hooks","issue_events_url":"https://api.github.com/repos/Elgg/mentions/issues/events{/number}","events_url":"https://api.github.com/repos/Elgg/mentions/events","assignees_url":"https://api.github.com/repos/Elgg/mentions/assignees{/user}","branches_url":"https://api.github.com/repos/Elgg/mentions/branches{/branch}","tags_url":"https://api.github.com/repos/Elgg/mentions/tags","blobs_url":"https://api.github.com/repos/Elgg/mentions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Elgg/mentions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Elgg/mentions/git/refs{/sha}","trees_url":"https://api.github.com/repos/Elgg/mentions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Elgg/mentions/statuses/{sha}","languages_url":"https://api.github.com/repos/Elgg/mentions/languages","stargazers_url":"https://api.github.com/repos/Elgg/mentions/stargazers","contributors_url":"https://api.github.com/repos/Elgg/mentions/contributors","subscribers_url":"https://api.github.com/repos/Elgg/mentions/subscribers","subscription_url":"https://api.github.com/repos/Elgg/mentions/subscription","commits_url":"https://api.github.com/repos/Elgg/mentions/commits{/sha}","git_commits_url":"https://api.github.com/repos/Elgg/mentions/git/commits{/sha}","comments_url":"https://api.github.com/repos/Elgg/mentions/comments{/number}","issue_comment_url":"https://api.github.com/repos/Elgg/mentions/issues/comments{/number}","contents_url":"https://api.github.com/repos/Elgg/mentions/contents/{+path}","compare_url":"https://api.github.com/repos/Elgg/mentions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Elgg/mentions/merges","archive_url":"https://api.github.com/repos/Elgg/mentions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Elgg/mentions/downloads","issues_url":"https://api.github.com/repos/Elgg/mentions/issues{/number}","pulls_url":"https://api.github.com/repos/Elgg/mentions/pulls{/number}","milestones_url":"https://api.github.com/repos/Elgg/mentions/milestones{/number}","notifications_url":"https://api.github.com/repos/Elgg/mentions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Elgg/mentions/labels{/name}","releases_url":"https://api.github.com/repos/Elgg/mentions/releases{/id}","deployments_url":"https://api.github.com/repos/Elgg/mentions/deployments","created_at":"2011-06-13T23:42:32Z","updated_at":"2016-01-13T15:23:35Z","pushed_at":"2016-02-05T08:20:46Z","git_url":"git://github.com/Elgg/mentions.git","ssh_url":"git@github.com:Elgg/mentions.git","clone_url":"https://github.com/Elgg/mentions.git","svn_url":"https://github.com/Elgg/mentions","homepage":"","size":47,"stargazers_count":14,"watchers_count":14,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":15,"forks":16,"open_issues":15,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Elgg/mentions/pulls/33"},"html":{"href":"https://github.com/Elgg/mentions/pull/33"},"issue":{"href":"https://api.github.com/repos/Elgg/mentions/issues/33"},"comments":{"href":"https://api.github.com/repos/Elgg/mentions/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/Elgg/mentions/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/Elgg/mentions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Elgg/mentions/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/Elgg/mentions/statuses/ec6c3e6a64454c0d51f310fe16376daea79d6d0d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":167,"deletions":96,"changed_files":6}}