{"action":"created","comment":{"url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/pulls/comments/121706037","pull_request_review_id":43752235,"id":121706037,"diff_hunk":"@@ -0,0 +1,146 @@\n+const callPrismic = require('../../utils/prismic-model');\n+const render = require('../../utils/render');\n+const template = require('../base/service-section.pug');\n+const slick = require('slick-carousel');\n+\n+function real_state (context, next) {\n+  callPrismic({\n+    documentType: 'service-page',\n+    tags: 'inmobiliaria'\n+  }, (results, err) => {\n+    if (err) return new Error('Bad Request');\n+    console.log(results)\n+\n+    const templateOptions = {\n+      carouselImages: results[0].data['service-page.carousel-images'].value,\n+      description: results[0].data['service-page.service-description'].value[0].text,\n+      topTitle: results[0].data['service-page.top-title'].value[0].text,\n+      bottomTitle: results[0].data['service-page.bottom-title'].value[0].text,\n+      title: results[0].data['service-page.service-title'].value[0].text\n+    }\n+\n+    render(context, template, templateOptions, () => {\n+      const $section = $('.service-section');\n+\n+      $section.find('.section-carousel').slick({","path":"public/js/views/real_state/index.js","position":25,"original_position":25,"commit_id":"d96a1f05f39ed0d9a69dc0088f662b2551952c53","original_commit_id":"d96a1f05f39ed0d9a69dc0088f662b2551952c53","user":{"login":"Cherna","id":10523683,"avatar_url":"https://avatars2.githubusercontent.com/u/10523683?v=3","gravatar_id":"","url":"https://api.github.com/users/Cherna","html_url":"https://github.com/Cherna","followers_url":"https://api.github.com/users/Cherna/followers","following_url":"https://api.github.com/users/Cherna/following{/other_user}","gists_url":"https://api.github.com/users/Cherna/gists{/gist_id}","starred_url":"https://api.github.com/users/Cherna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cherna/subscriptions","organizations_url":"https://api.github.com/users/Cherna/orgs","repos_url":"https://api.github.com/users/Cherna/repos","events_url":"https://api.github.com/users/Cherna/events{/privacy}","received_events_url":"https://api.github.com/users/Cherna/received_events","type":"User","site_admin":false},"body":"The initialization of slick should be its own module, since we are using it all over the place. Let's centralize this shit.","created_at":"2017-06-13T15:05:39Z","updated_at":"2017-06-13T15:07:19Z","html_url":"https://github.com/vuelosaires/vuelosaires-website/pull/1#discussion_r121706037","pull_request_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/vuelosaires/vuelosaires-website/pulls/comments/121706037"},"html":{"href":"https://github.com/vuelosaires/vuelosaires-website/pull/1#discussion_r121706037"},"pull_request":{"href":"https://api.github.com/repos/vuelosaires/vuelosaires-website/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/pulls/1","id":125381346,"html_url":"https://github.com/vuelosaires/vuelosaires-website/pull/1","diff_url":"https://github.com/vuelosaires/vuelosaires-website/pull/1.diff","patch_url":"https://github.com/vuelosaires/vuelosaires-website/pull/1.patch","issue_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/issues/1","number":1,"state":"open","locked":false,"title":"Guido","user":{"login":"Cherna","id":10523683,"avatar_url":"https://avatars2.githubusercontent.com/u/10523683?v=3","gravatar_id":"","url":"https://api.github.com/users/Cherna","html_url":"https://github.com/Cherna","followers_url":"https://api.github.com/users/Cherna/followers","following_url":"https://api.github.com/users/Cherna/following{/other_user}","gists_url":"https://api.github.com/users/Cherna/gists{/gist_id}","starred_url":"https://api.github.com/users/Cherna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cherna/subscriptions","organizations_url":"https://api.github.com/users/Cherna/orgs","repos_url":"https://api.github.com/users/Cherna/repos","events_url":"https://api.github.com/users/Cherna/events{/privacy}","received_events_url":"https://api.github.com/users/Cherna/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-06-13T14:41:09Z","updated_at":"2017-06-13T15:07:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c1876e292299e077d830926cef993260764e6db","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/pulls/1/commits","review_comments_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/pulls/1/comments","review_comment_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/issues/1/comments","statuses_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/statuses/d96a1f05f39ed0d9a69dc0088f662b2551952c53","head":{"label":"vuelosaires:guido","ref":"guido","sha":"d96a1f05f39ed0d9a69dc0088f662b2551952c53","user":{"login":"vuelosaires","id":26415131,"avatar_url":"https://avatars0.githubusercontent.com/u/26415131?v=3","gravatar_id":"","url":"https://api.github.com/users/vuelosaires","html_url":"https://github.com/vuelosaires","followers_url":"https://api.github.com/users/vuelosaires/followers","following_url":"https://api.github.com/users/vuelosaires/following{/other_user}","gists_url":"https://api.github.com/users/vuelosaires/gists{/gist_id}","starred_url":"https://api.github.com/users/vuelosaires/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuelosaires/subscriptions","organizations_url":"https://api.github.com/users/vuelosaires/orgs","repos_url":"https://api.github.com/users/vuelosaires/repos","events_url":"https://api.github.com/users/vuelosaires/events{/privacy}","received_events_url":"https://api.github.com/users/vuelosaires/received_events","type":"Organization","site_admin":false},"repo":{"id":84982845,"name":"vuelosaires-website","full_name":"vuelosaires/vuelosaires-website","owner":{"login":"vuelosaires","id":26415131,"avatar_url":"https://avatars0.githubusercontent.com/u/26415131?v=3","gravatar_id":"","url":"https://api.github.com/users/vuelosaires","html_url":"https://github.com/vuelosaires","followers_url":"https://api.github.com/users/vuelosaires/followers","following_url":"https://api.github.com/users/vuelosaires/following{/other_user}","gists_url":"https://api.github.com/users/vuelosaires/gists{/gist_id}","starred_url":"https://api.github.com/users/vuelosaires/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuelosaires/subscriptions","organizations_url":"https://api.github.com/users/vuelosaires/orgs","repos_url":"https://api.github.com/users/vuelosaires/repos","events_url":"https://api.github.com/users/vuelosaires/events{/privacy}","received_events_url":"https://api.github.com/users/vuelosaires/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vuelosaires/vuelosaires-website","description":"Official website for Vuelos Aires","fork":false,"url":"https://api.github.com/repos/vuelosaires/vuelosaires-website","forks_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/forks","keys_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/teams","hooks_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/hooks","issue_events_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/issues/events{/number}","events_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/events","assignees_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/assignees{/user}","branches_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/branches{/branch}","tags_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/tags","blobs_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/statuses/{sha}","languages_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/languages","stargazers_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/stargazers","contributors_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/contributors","subscribers_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/subscribers","subscription_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/subscription","commits_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/contents/{+path}","compare_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/merges","archive_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/downloads","issues_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/issues{/number}","pulls_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/pulls{/number}","milestones_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/milestones{/number}","notifications_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/labels{/name}","releases_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/releases{/id}","deployments_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/deployments","created_at":"2017-03-14T18:19:03Z","updated_at":"2017-03-24T23:30:04Z","pushed_at":"2017-06-13T14:41:09Z","git_url":"git://github.com/vuelosaires/vuelosaires-website.git","ssh_url":"git@github.com:vuelosaires/vuelosaires-website.git","clone_url":"https://github.com/vuelosaires/vuelosaires-website.git","svn_url":"https://github.com/vuelosaires/vuelosaires-website","homepage":null,"size":10444,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"vuelosaires:master","ref":"master","sha":"a407157752478f002deab7ba992832bbded937f4","user":{"login":"vuelosaires","id":26415131,"avatar_url":"https://avatars0.githubusercontent.com/u/26415131?v=3","gravatar_id":"","url":"https://api.github.com/users/vuelosaires","html_url":"https://github.com/vuelosaires","followers_url":"https://api.github.com/users/vuelosaires/followers","following_url":"https://api.github.com/users/vuelosaires/following{/other_user}","gists_url":"https://api.github.com/users/vuelosaires/gists{/gist_id}","starred_url":"https://api.github.com/users/vuelosaires/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuelosaires/subscriptions","organizations_url":"https://api.github.com/users/vuelosaires/orgs","repos_url":"https://api.github.com/users/vuelosaires/repos","events_url":"https://api.github.com/users/vuelosaires/events{/privacy}","received_events_url":"https://api.github.com/users/vuelosaires/received_events","type":"Organization","site_admin":false},"repo":{"id":84982845,"name":"vuelosaires-website","full_name":"vuelosaires/vuelosaires-website","owner":{"login":"vuelosaires","id":26415131,"avatar_url":"https://avatars0.githubusercontent.com/u/26415131?v=3","gravatar_id":"","url":"https://api.github.com/users/vuelosaires","html_url":"https://github.com/vuelosaires","followers_url":"https://api.github.com/users/vuelosaires/followers","following_url":"https://api.github.com/users/vuelosaires/following{/other_user}","gists_url":"https://api.github.com/users/vuelosaires/gists{/gist_id}","starred_url":"https://api.github.com/users/vuelosaires/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuelosaires/subscriptions","organizations_url":"https://api.github.com/users/vuelosaires/orgs","repos_url":"https://api.github.com/users/vuelosaires/repos","events_url":"https://api.github.com/users/vuelosaires/events{/privacy}","received_events_url":"https://api.github.com/users/vuelosaires/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vuelosaires/vuelosaires-website","description":"Official website for Vuelos Aires","fork":false,"url":"https://api.github.com/repos/vuelosaires/vuelosaires-website","forks_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/forks","keys_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/teams","hooks_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/hooks","issue_events_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/issues/events{/number}","events_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/events","assignees_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/assignees{/user}","branches_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/branches{/branch}","tags_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/tags","blobs_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/statuses/{sha}","languages_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/languages","stargazers_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/stargazers","contributors_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/contributors","subscribers_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/subscribers","subscription_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/subscription","commits_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/contents/{+path}","compare_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/merges","archive_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/downloads","issues_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/issues{/number}","pulls_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/pulls{/number}","milestones_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/milestones{/number}","notifications_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/labels{/name}","releases_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/releases{/id}","deployments_url":"https://api.github.com/repos/vuelosaires/vuelosaires-website/deployments","created_at":"2017-03-14T18:19:03Z","updated_at":"2017-03-24T23:30:04Z","pushed_at":"2017-06-13T14:41:09Z","git_url":"git://github.com/vuelosaires/vuelosaires-website.git","ssh_url":"git@github.com:vuelosaires/vuelosaires-website.git","clone_url":"https://github.com/vuelosaires/vuelosaires-website.git","svn_url":"https://github.com/vuelosaires/vuelosaires-website","homepage":null,"size":10444,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vuelosaires/vuelosaires-website/pulls/1"},"html":{"href":"https://github.com/vuelosaires/vuelosaires-website/pull/1"},"issue":{"href":"https://api.github.com/repos/vuelosaires/vuelosaires-website/issues/1"},"comments":{"href":"https://api.github.com/repos/vuelosaires/vuelosaires-website/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/vuelosaires/vuelosaires-website/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/vuelosaires/vuelosaires-website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vuelosaires/vuelosaires-website/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/vuelosaires/vuelosaires-website/statuses/d96a1f05f39ed0d9a69dc0088f662b2551952c53"}}}}
{"actor":{"display_login":"Cherna"}}