{"action":"created","comment":{"url":"https://api.github.com/repos/werein/x-editable-rails/pulls/comments/25401449","id":25401449,"diff_hunk":"@@ -0,0 +1,663 @@\n+/*! X-editable - v1.5.1 \n+* In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery\n+* http://github.com/vitalets/x-editable\n+* Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */\n+.editableform {\n+    margin-bottom: 0; /* overwrites bootstrap margin */\n+}\n+\n+.editableform .control-group {\n+    margin-bottom: 0; /* overwrites bootstrap margin */\n+    white-space: nowrap; /* prevent wrapping buttons on new line */\n+    line-height: 20px; /* overwriting bootstrap line-height. See #133 */\n+}\n+\n+/* ","path":"app/assets/stylesheets/editable/bootstrap-editable.scss","position":15,"original_position":15,"commit_id":"7e18eb2e79fd4fd8b62c7a5acfe41faf43620bef","original_commit_id":"7e18eb2e79fd4fd8b62c7a5acfe41faf43620bef","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Use `//` comments everywhere","created_at":"2015-02-26T02:59:24Z","updated_at":"2015-02-26T02:59:24Z","html_url":"https://github.com/werein/x-editable-rails/pull/51#discussion_r25401449","pull_request_url":"https://api.github.com/repos/werein/x-editable-rails/pulls/51","_links":{"self":{"href":"https://api.github.com/repos/werein/x-editable-rails/pulls/comments/25401449"},"html":{"href":"https://github.com/werein/x-editable-rails/pull/51#discussion_r25401449"},"pull_request":{"href":"https://api.github.com/repos/werein/x-editable-rails/pulls/51"}}},"pull_request":{"url":"https://api.github.com/repos/werein/x-editable-rails/pulls/51","id":23666163,"html_url":"https://github.com/werein/x-editable-rails/pull/51","diff_url":"https://github.com/werein/x-editable-rails/pull/51.diff","patch_url":"https://github.com/werein/x-editable-rails/pull/51.patch","issue_url":"https://api.github.com/repos/werein/x-editable-rails/issues/51","number":51,"state":"open","locked":false,"title":"Support nested resource YAML config.","user":{"login":"yuanping","id":314315,"avatar_url":"https://avatars.githubusercontent.com/u/314315?v=3","gravatar_id":"","url":"https://api.github.com/users/yuanping","html_url":"https://github.com/yuanping","followers_url":"https://api.github.com/users/yuanping/followers","following_url":"https://api.github.com/users/yuanping/following{/other_user}","gists_url":"https://api.github.com/users/yuanping/gists{/gist_id}","starred_url":"https://api.github.com/users/yuanping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuanping/subscriptions","organizations_url":"https://api.github.com/users/yuanping/orgs","repos_url":"https://api.github.com/users/yuanping/repos","events_url":"https://api.github.com/users/yuanping/events{/privacy}","received_events_url":"https://api.github.com/users/yuanping/received_events","type":"User","site_admin":false},"body":"Support nested resource or namespace resource YAML config:\r\n    <%= editable [:admin, @order], :title %>","created_at":"2014-10-31T10:03:32Z","updated_at":"2015-02-26T02:59:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4206fd13a6583a63762bc96e5bd0cd04e85af395","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/werein/x-editable-rails/pulls/51/commits","review_comments_url":"https://api.github.com/repos/werein/x-editable-rails/pulls/51/comments","review_comment_url":"https://api.github.com/repos/werein/x-editable-rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/werein/x-editable-rails/issues/51/comments","statuses_url":"https://api.github.com/repos/werein/x-editable-rails/statuses/7e18eb2e79fd4fd8b62c7a5acfe41faf43620bef","head":{"label":"yuanping:master","ref":"master","sha":"7e18eb2e79fd4fd8b62c7a5acfe41faf43620bef","user":{"login":"yuanping","id":314315,"avatar_url":"https://avatars.githubusercontent.com/u/314315?v=3","gravatar_id":"","url":"https://api.github.com/users/yuanping","html_url":"https://github.com/yuanping","followers_url":"https://api.github.com/users/yuanping/followers","following_url":"https://api.github.com/users/yuanping/following{/other_user}","gists_url":"https://api.github.com/users/yuanping/gists{/gist_id}","starred_url":"https://api.github.com/users/yuanping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuanping/subscriptions","organizations_url":"https://api.github.com/users/yuanping/orgs","repos_url":"https://api.github.com/users/yuanping/repos","events_url":"https://api.github.com/users/yuanping/events{/privacy}","received_events_url":"https://api.github.com/users/yuanping/received_events","type":"User","site_admin":false},"repo":{"id":26009731,"name":"x-editable-rails","full_name":"yuanping/x-editable-rails","owner":{"login":"yuanping","id":314315,"avatar_url":"https://avatars.githubusercontent.com/u/314315?v=3","gravatar_id":"","url":"https://api.github.com/users/yuanping","html_url":"https://github.com/yuanping","followers_url":"https://api.github.com/users/yuanping/followers","following_url":"https://api.github.com/users/yuanping/following{/other_user}","gists_url":"https://api.github.com/users/yuanping/gists{/gist_id}","starred_url":"https://api.github.com/users/yuanping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuanping/subscriptions","organizations_url":"https://api.github.com/users/yuanping/orgs","repos_url":"https://api.github.com/users/yuanping/repos","events_url":"https://api.github.com/users/yuanping/events{/privacy}","received_events_url":"https://api.github.com/users/yuanping/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuanping/x-editable-rails","description":"X-editable for Rails","fork":true,"url":"https://api.github.com/repos/yuanping/x-editable-rails","forks_url":"https://api.github.com/repos/yuanping/x-editable-rails/forks","keys_url":"https://api.github.com/repos/yuanping/x-editable-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuanping/x-editable-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuanping/x-editable-rails/teams","hooks_url":"https://api.github.com/repos/yuanping/x-editable-rails/hooks","issue_events_url":"https://api.github.com/repos/yuanping/x-editable-rails/issues/events{/number}","events_url":"https://api.github.com/repos/yuanping/x-editable-rails/events","assignees_url":"https://api.github.com/repos/yuanping/x-editable-rails/assignees{/user}","branches_url":"https://api.github.com/repos/yuanping/x-editable-rails/branches{/branch}","tags_url":"https://api.github.com/repos/yuanping/x-editable-rails/tags","blobs_url":"https://api.github.com/repos/yuanping/x-editable-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuanping/x-editable-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuanping/x-editable-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuanping/x-editable-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuanping/x-editable-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/yuanping/x-editable-rails/languages","stargazers_url":"https://api.github.com/repos/yuanping/x-editable-rails/stargazers","contributors_url":"https://api.github.com/repos/yuanping/x-editable-rails/contributors","subscribers_url":"https://api.github.com/repos/yuanping/x-editable-rails/subscribers","subscription_url":"https://api.github.com/repos/yuanping/x-editable-rails/subscription","commits_url":"https://api.github.com/repos/yuanping/x-editable-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuanping/x-editable-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuanping/x-editable-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuanping/x-editable-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuanping/x-editable-rails/contents/{+path}","compare_url":"https://api.github.com/repos/yuanping/x-editable-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuanping/x-editable-rails/merges","archive_url":"https://api.github.com/repos/yuanping/x-editable-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuanping/x-editable-rails/downloads","issues_url":"https://api.github.com/repos/yuanping/x-editable-rails/issues{/number}","pulls_url":"https://api.github.com/repos/yuanping/x-editable-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/yuanping/x-editable-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/yuanping/x-editable-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuanping/x-editable-rails/labels{/name}","releases_url":"https://api.github.com/repos/yuanping/x-editable-rails/releases{/id}","created_at":"2014-10-31T09:20:41Z","updated_at":"2015-02-26T02:58:59Z","pushed_at":"2015-02-26T02:58:59Z","git_url":"git://github.com/yuanping/x-editable-rails.git","ssh_url":"git@github.com:yuanping/x-editable-rails.git","clone_url":"https://github.com/yuanping/x-editable-rails.git","svn_url":"https://github.com/yuanping/x-editable-rails","homepage":"werein.github.io/gems/x-editable-rails/","size":463,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"werein:master","ref":"master","sha":"f5332b6a4961a9e9cfb91c03ed9c3528108c197a","user":{"login":"werein","id":3116920,"avatar_url":"https://avatars.githubusercontent.com/u/3116920?v=3","gravatar_id":"","url":"https://api.github.com/users/werein","html_url":"https://github.com/werein","followers_url":"https://api.github.com/users/werein/followers","following_url":"https://api.github.com/users/werein/following{/other_user}","gists_url":"https://api.github.com/users/werein/gists{/gist_id}","starred_url":"https://api.github.com/users/werein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/werein/subscriptions","organizations_url":"https://api.github.com/users/werein/orgs","repos_url":"https://api.github.com/users/werein/repos","events_url":"https://api.github.com/users/werein/events{/privacy}","received_events_url":"https://api.github.com/users/werein/received_events","type":"Organization","site_admin":false},"repo":{"id":7321956,"name":"x-editable-rails","full_name":"werein/x-editable-rails","owner":{"login":"werein","id":3116920,"avatar_url":"https://avatars.githubusercontent.com/u/3116920?v=3","gravatar_id":"","url":"https://api.github.com/users/werein","html_url":"https://github.com/werein","followers_url":"https://api.github.com/users/werein/followers","following_url":"https://api.github.com/users/werein/following{/other_user}","gists_url":"https://api.github.com/users/werein/gists{/gist_id}","starred_url":"https://api.github.com/users/werein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/werein/subscriptions","organizations_url":"https://api.github.com/users/werein/orgs","repos_url":"https://api.github.com/users/werein/repos","events_url":"https://api.github.com/users/werein/events{/privacy}","received_events_url":"https://api.github.com/users/werein/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/werein/x-editable-rails","description":"X-editable for Rails","fork":false,"url":"https://api.github.com/repos/werein/x-editable-rails","forks_url":"https://api.github.com/repos/werein/x-editable-rails/forks","keys_url":"https://api.github.com/repos/werein/x-editable-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/werein/x-editable-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/werein/x-editable-rails/teams","hooks_url":"https://api.github.com/repos/werein/x-editable-rails/hooks","issue_events_url":"https://api.github.com/repos/werein/x-editable-rails/issues/events{/number}","events_url":"https://api.github.com/repos/werein/x-editable-rails/events","assignees_url":"https://api.github.com/repos/werein/x-editable-rails/assignees{/user}","branches_url":"https://api.github.com/repos/werein/x-editable-rails/branches{/branch}","tags_url":"https://api.github.com/repos/werein/x-editable-rails/tags","blobs_url":"https://api.github.com/repos/werein/x-editable-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/werein/x-editable-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/werein/x-editable-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/werein/x-editable-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/werein/x-editable-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/werein/x-editable-rails/languages","stargazers_url":"https://api.github.com/repos/werein/x-editable-rails/stargazers","contributors_url":"https://api.github.com/repos/werein/x-editable-rails/contributors","subscribers_url":"https://api.github.com/repos/werein/x-editable-rails/subscribers","subscription_url":"https://api.github.com/repos/werein/x-editable-rails/subscription","commits_url":"https://api.github.com/repos/werein/x-editable-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/werein/x-editable-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/werein/x-editable-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/werein/x-editable-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/werein/x-editable-rails/contents/{+path}","compare_url":"https://api.github.com/repos/werein/x-editable-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/werein/x-editable-rails/merges","archive_url":"https://api.github.com/repos/werein/x-editable-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/werein/x-editable-rails/downloads","issues_url":"https://api.github.com/repos/werein/x-editable-rails/issues{/number}","pulls_url":"https://api.github.com/repos/werein/x-editable-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/werein/x-editable-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/werein/x-editable-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/werein/x-editable-rails/labels{/name}","releases_url":"https://api.github.com/repos/werein/x-editable-rails/releases{/id}","created_at":"2012-12-26T01:26:35Z","updated_at":"2015-02-19T15:54:22Z","pushed_at":"2014-09-11T08:22:43Z","git_url":"git://github.com/werein/x-editable-rails.git","ssh_url":"git@github.com:werein/x-editable-rails.git","clone_url":"https://github.com/werein/x-editable-rails.git","svn_url":"https://github.com/werein/x-editable-rails","homepage":"werein.github.io/gems/x-editable-rails/","size":808,"stargazers_count":76,"watchers_count":76,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":7,"forks":46,"open_issues":7,"watchers":76,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/werein/x-editable-rails/pulls/51"},"html":{"href":"https://github.com/werein/x-editable-rails/pull/51"},"issue":{"href":"https://api.github.com/repos/werein/x-editable-rails/issues/51"},"comments":{"href":"https://api.github.com/repos/werein/x-editable-rails/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/werein/x-editable-rails/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/werein/x-editable-rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/werein/x-editable-rails/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/werein/x-editable-rails/statuses/7e18eb2e79fd4fd8b62c7a5acfe41faf43620bef"}}}}