{"action":"created","comment":{"url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/pulls/comments/75928341","id":75928341,"diff_hunk":"@@ -0,0 +1,444 @@\n+---\n+layout: post\n+title:  \"Making a JS plug-in: a full-stack approach\"\n+date:   2016-08-22 00:00:00\n+author: Miguel Revetria\n+categories: JavaScript, Plugin, Widget, CORS, Ruby, Rails, CSS\n+author_id: remer\n+markdown: redcarpet\n+\n+---\n+\n+In this occasion we will introduce a way to create a JavaScript client side plug-in that can be easily included in any third party websites.\n+This plug-in, will be useful to allow your users to execute custom actions like filling a registration form or maybe displaying information related with website.","path":"_posts/2016-08-22-making-a-js-plug-in-a-full-stack-approach.md","position":13,"original_position":13,"commit_id":"2ea98e583d3bf02f7f3fb61c52525f5e0dfecb1c","original_commit_id":"2ea98e583d3bf02f7f3fb61c52525f5e0dfecb1c","user":{"login":"bryant1410","id":3905501,"avatar_url":"https://avatars.githubusercontent.com/u/3905501?v=3","gravatar_id":"","url":"https://api.github.com/users/bryant1410","html_url":"https://github.com/bryant1410","followers_url":"https://api.github.com/users/bryant1410/followers","following_url":"https://api.github.com/users/bryant1410/following{/other_user}","gists_url":"https://api.github.com/users/bryant1410/gists{/gist_id}","starred_url":"https://api.github.com/users/bryant1410/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryant1410/subscriptions","organizations_url":"https://api.github.com/users/bryant1410/orgs","repos_url":"https://api.github.com/users/bryant1410/repos","events_url":"https://api.github.com/users/bryant1410/events{/privacy}","received_events_url":"https://api.github.com/users/bryant1410/received_events","type":"User","site_admin":false},"body":"with a/the website.","created_at":"2016-08-23T18:51:20Z","updated_at":"2016-08-23T18:51:20Z","html_url":"https://github.com/xmartlabs/xmartlabs.github.io/pull/14#discussion_r75928341","pull_request_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/pulls/comments/75928341"},"html":{"href":"https://github.com/xmartlabs/xmartlabs.github.io/pull/14#discussion_r75928341"},"pull_request":{"href":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/pulls/14","id":67058793,"html_url":"https://github.com/xmartlabs/xmartlabs.github.io/pull/14","diff_url":"https://github.com/xmartlabs/xmartlabs.github.io/pull/14.diff","patch_url":"https://github.com/xmartlabs/xmartlabs.github.io/pull/14.patch","issue_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/issues/14","number":14,"state":"open","locked":false,"title":"Post about creating a client-side Javascript plugin to show a widget","user":{"login":"m-revetria","id":4791678,"avatar_url":"https://avatars.githubusercontent.com/u/4791678?v=3","gravatar_id":"","url":"https://api.github.com/users/m-revetria","html_url":"https://github.com/m-revetria","followers_url":"https://api.github.com/users/m-revetria/followers","following_url":"https://api.github.com/users/m-revetria/following{/other_user}","gists_url":"https://api.github.com/users/m-revetria/gists{/gist_id}","starred_url":"https://api.github.com/users/m-revetria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-revetria/subscriptions","organizations_url":"https://api.github.com/users/m-revetria/orgs","repos_url":"https://api.github.com/users/m-revetria/repos","events_url":"https://api.github.com/users/m-revetria/events{/privacy}","received_events_url":"https://api.github.com/users/m-revetria/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-19T17:36:01Z","updated_at":"2016-08-23T18:51:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c217cb6b2d765489e26c819e71e2e0cc81c55eb9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/pulls/14/commits","review_comments_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/pulls/14/comments","review_comment_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/issues/14/comments","statuses_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/statuses/2ea98e583d3bf02f7f3fb61c52525f5e0dfecb1c","head":{"label":"xmartlabs:javascript-client-widget","ref":"javascript-client-widget","sha":"2ea98e583d3bf02f7f3fb61c52525f5e0dfecb1c","user":{"login":"xmartlabs","id":2227731,"avatar_url":"https://avatars.githubusercontent.com/u/2227731?v=3","gravatar_id":"","url":"https://api.github.com/users/xmartlabs","html_url":"https://github.com/xmartlabs","followers_url":"https://api.github.com/users/xmartlabs/followers","following_url":"https://api.github.com/users/xmartlabs/following{/other_user}","gists_url":"https://api.github.com/users/xmartlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/xmartlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xmartlabs/subscriptions","organizations_url":"https://api.github.com/users/xmartlabs/orgs","repos_url":"https://api.github.com/users/xmartlabs/repos","events_url":"https://api.github.com/users/xmartlabs/events{/privacy}","received_events_url":"https://api.github.com/users/xmartlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":31186390,"name":"xmartlabs.github.io","full_name":"xmartlabs/xmartlabs.github.io","owner":{"login":"xmartlabs","id":2227731,"avatar_url":"https://avatars.githubusercontent.com/u/2227731?v=3","gravatar_id":"","url":"https://api.github.com/users/xmartlabs","html_url":"https://github.com/xmartlabs","followers_url":"https://api.github.com/users/xmartlabs/followers","following_url":"https://api.github.com/users/xmartlabs/following{/other_user}","gists_url":"https://api.github.com/users/xmartlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/xmartlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xmartlabs/subscriptions","organizations_url":"https://api.github.com/users/xmartlabs/orgs","repos_url":"https://api.github.com/users/xmartlabs/repos","events_url":"https://api.github.com/users/xmartlabs/events{/privacy}","received_events_url":"https://api.github.com/users/xmartlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xmartlabs/xmartlabs.github.io","description":"Xmartlabs Blog","fork":false,"url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io","forks_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/forks","keys_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/teams","hooks_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/hooks","issue_events_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/events","assignees_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/tags","blobs_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/languages","stargazers_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/stargazers","contributors_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/contributors","subscribers_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/subscribers","subscription_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/subscription","commits_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/merges","archive_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/downloads","issues_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/labels{/name}","releases_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/deployments","created_at":"2015-02-22T23:40:28Z","updated_at":"2016-02-26T19:10:39Z","pushed_at":"2016-08-23T15:44:47Z","git_url":"git://github.com/xmartlabs/xmartlabs.github.io.git","ssh_url":"git@github.com:xmartlabs/xmartlabs.github.io.git","clone_url":"https://github.com/xmartlabs/xmartlabs.github.io.git","svn_url":"https://github.com/xmartlabs/xmartlabs.github.io","homepage":null,"size":13232,"stargazers_count":5,"watchers_count":5,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":5,"default_branch":"master"}},"base":{"label":"xmartlabs:master","ref":"master","sha":"adcad4bdb26b95d844d878dddf4591c8efe2790f","user":{"login":"xmartlabs","id":2227731,"avatar_url":"https://avatars.githubusercontent.com/u/2227731?v=3","gravatar_id":"","url":"https://api.github.com/users/xmartlabs","html_url":"https://github.com/xmartlabs","followers_url":"https://api.github.com/users/xmartlabs/followers","following_url":"https://api.github.com/users/xmartlabs/following{/other_user}","gists_url":"https://api.github.com/users/xmartlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/xmartlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xmartlabs/subscriptions","organizations_url":"https://api.github.com/users/xmartlabs/orgs","repos_url":"https://api.github.com/users/xmartlabs/repos","events_url":"https://api.github.com/users/xmartlabs/events{/privacy}","received_events_url":"https://api.github.com/users/xmartlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":31186390,"name":"xmartlabs.github.io","full_name":"xmartlabs/xmartlabs.github.io","owner":{"login":"xmartlabs","id":2227731,"avatar_url":"https://avatars.githubusercontent.com/u/2227731?v=3","gravatar_id":"","url":"https://api.github.com/users/xmartlabs","html_url":"https://github.com/xmartlabs","followers_url":"https://api.github.com/users/xmartlabs/followers","following_url":"https://api.github.com/users/xmartlabs/following{/other_user}","gists_url":"https://api.github.com/users/xmartlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/xmartlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xmartlabs/subscriptions","organizations_url":"https://api.github.com/users/xmartlabs/orgs","repos_url":"https://api.github.com/users/xmartlabs/repos","events_url":"https://api.github.com/users/xmartlabs/events{/privacy}","received_events_url":"https://api.github.com/users/xmartlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xmartlabs/xmartlabs.github.io","description":"Xmartlabs Blog","fork":false,"url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io","forks_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/forks","keys_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/teams","hooks_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/hooks","issue_events_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/events","assignees_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/tags","blobs_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/languages","stargazers_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/stargazers","contributors_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/contributors","subscribers_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/subscribers","subscription_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/subscription","commits_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/merges","archive_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/downloads","issues_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/labels{/name}","releases_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/deployments","created_at":"2015-02-22T23:40:28Z","updated_at":"2016-02-26T19:10:39Z","pushed_at":"2016-08-23T15:44:47Z","git_url":"git://github.com/xmartlabs/xmartlabs.github.io.git","ssh_url":"git@github.com:xmartlabs/xmartlabs.github.io.git","clone_url":"https://github.com/xmartlabs/xmartlabs.github.io.git","svn_url":"https://github.com/xmartlabs/xmartlabs.github.io","homepage":null,"size":13232,"stargazers_count":5,"watchers_count":5,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/pulls/14"},"html":{"href":"https://github.com/xmartlabs/xmartlabs.github.io/pull/14"},"issue":{"href":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/issues/14"},"comments":{"href":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/xmartlabs/xmartlabs.github.io/statuses/2ea98e583d3bf02f7f3fb61c52525f5e0dfecb1c"}}}}
{"actor":{"display_login":"bryant1410"}}