{"action":"created","comment":{"url":"https://api.github.com/repos/lextes/ShowMovie/pulls/comments/58229485","id":58229485,"diff_hunk":"@@ -23,4 +26,18 @@ dropdown.onchange=function(){\n \tselectedGenre.innerHTML = this.value;\n }\n \n- \n+\n+function getQuery(url){\n+\t\turl = url.replace(\"?\", \"\");\n+\tvar propiedades=url.split(\"&\");\n+\n+\tvar propiedad1=propiedades[0].split(\"=\");\n+\tvar propiedad2=propiedades[1].split(\"=\");\n+\t\n+\tpropiedadFinal1=propiedad1[1];\n+\tpropiedadFinal2=propiedad2[1];\n+\n+\treturn propiedadFinal1\n+\treturn propiedadFinal2","path":"app/js/app/app.js","position":27,"original_position":27,"commit_id":"6c996a86d257efe62ea89b48021a870e463f6166","original_commit_id":"6c996a86d257efe62ea89b48021a870e463f6166","user":{"login":"mauleyzaola","id":1648558,"avatar_url":"https://avatars.githubusercontent.com/u/1648558?v=3","gravatar_id":"","url":"https://api.github.com/users/mauleyzaola","html_url":"https://github.com/mauleyzaola","followers_url":"https://api.github.com/users/mauleyzaola/followers","following_url":"https://api.github.com/users/mauleyzaola/following{/other_user}","gists_url":"https://api.github.com/users/mauleyzaola/gists{/gist_id}","starred_url":"https://api.github.com/users/mauleyzaola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mauleyzaola/subscriptions","organizations_url":"https://api.github.com/users/mauleyzaola/orgs","repos_url":"https://api.github.com/users/mauleyzaola/repos","events_url":"https://api.github.com/users/mauleyzaola/events{/privacy}","received_events_url":"https://api.github.com/users/mauleyzaola/received_events","type":"User","site_admin":false},"body":"nunca va a llegar el codigo al segundo `return`, asi que quitalo es innecesario","created_at":"2016-04-01T16:18:24Z","updated_at":"2016-04-01T16:18:24Z","html_url":"https://github.com/lextes/ShowMovie/pull/18#discussion_r58229485","pull_request_url":"https://api.github.com/repos/lextes/ShowMovie/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/lextes/ShowMovie/pulls/comments/58229485"},"html":{"href":"https://github.com/lextes/ShowMovie/pull/18#discussion_r58229485"},"pull_request":{"href":"https://api.github.com/repos/lextes/ShowMovie/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/lextes/ShowMovie/pulls/18","id":64878600,"html_url":"https://github.com/lextes/ShowMovie/pull/18","diff_url":"https://github.com/lextes/ShowMovie/pull/18.diff","patch_url":"https://github.com/lextes/ShowMovie/pull/18.patch","issue_url":"https://api.github.com/repos/lextes/ShowMovie/issues/18","number":18,"state":"open","locked":false,"title":"avances #15","user":{"login":"mauleyzaola","id":1648558,"avatar_url":"https://avatars.githubusercontent.com/u/1648558?v=3","gravatar_id":"","url":"https://api.github.com/users/mauleyzaola","html_url":"https://github.com/mauleyzaola","followers_url":"https://api.github.com/users/mauleyzaola/followers","following_url":"https://api.github.com/users/mauleyzaola/following{/other_user}","gists_url":"https://api.github.com/users/mauleyzaola/gists{/gist_id}","starred_url":"https://api.github.com/users/mauleyzaola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mauleyzaola/subscriptions","organizations_url":"https://api.github.com/users/mauleyzaola/orgs","repos_url":"https://api.github.com/users/mauleyzaola/repos","events_url":"https://api.github.com/users/mauleyzaola/events{/privacy}","received_events_url":"https://api.github.com/users/mauleyzaola/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-01T00:07:28Z","updated_at":"2016-04-01T16:18:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lextes/ShowMovie/pulls/18/commits","review_comments_url":"https://api.github.com/repos/lextes/ShowMovie/pulls/18/comments","review_comment_url":"https://api.github.com/repos/lextes/ShowMovie/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lextes/ShowMovie/issues/18/comments","statuses_url":"https://api.github.com/repos/lextes/ShowMovie/statuses/6c996a86d257efe62ea89b48021a870e463f6166","head":{"label":"lextes:feature/15","ref":"feature/15","sha":"6c996a86d257efe62ea89b48021a870e463f6166","user":{"login":"lextes","id":16492764,"avatar_url":"https://avatars.githubusercontent.com/u/16492764?v=3","gravatar_id":"","url":"https://api.github.com/users/lextes","html_url":"https://github.com/lextes","followers_url":"https://api.github.com/users/lextes/followers","following_url":"https://api.github.com/users/lextes/following{/other_user}","gists_url":"https://api.github.com/users/lextes/gists{/gist_id}","starred_url":"https://api.github.com/users/lextes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lextes/subscriptions","organizations_url":"https://api.github.com/users/lextes/orgs","repos_url":"https://api.github.com/users/lextes/repos","events_url":"https://api.github.com/users/lextes/events{/privacy}","received_events_url":"https://api.github.com/users/lextes/received_events","type":"User","site_admin":false},"repo":{"id":54486075,"name":"ShowMovie","full_name":"lextes/ShowMovie","owner":{"login":"lextes","id":16492764,"avatar_url":"https://avatars.githubusercontent.com/u/16492764?v=3","gravatar_id":"","url":"https://api.github.com/users/lextes","html_url":"https://github.com/lextes","followers_url":"https://api.github.com/users/lextes/followers","following_url":"https://api.github.com/users/lextes/following{/other_user}","gists_url":"https://api.github.com/users/lextes/gists{/gist_id}","starred_url":"https://api.github.com/users/lextes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lextes/subscriptions","organizations_url":"https://api.github.com/users/lextes/orgs","repos_url":"https://api.github.com/users/lextes/repos","events_url":"https://api.github.com/users/lextes/events{/privacy}","received_events_url":"https://api.github.com/users/lextes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lextes/ShowMovie","description":"","fork":false,"url":"https://api.github.com/repos/lextes/ShowMovie","forks_url":"https://api.github.com/repos/lextes/ShowMovie/forks","keys_url":"https://api.github.com/repos/lextes/ShowMovie/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lextes/ShowMovie/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lextes/ShowMovie/teams","hooks_url":"https://api.github.com/repos/lextes/ShowMovie/hooks","issue_events_url":"https://api.github.com/repos/lextes/ShowMovie/issues/events{/number}","events_url":"https://api.github.com/repos/lextes/ShowMovie/events","assignees_url":"https://api.github.com/repos/lextes/ShowMovie/assignees{/user}","branches_url":"https://api.github.com/repos/lextes/ShowMovie/branches{/branch}","tags_url":"https://api.github.com/repos/lextes/ShowMovie/tags","blobs_url":"https://api.github.com/repos/lextes/ShowMovie/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lextes/ShowMovie/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lextes/ShowMovie/git/refs{/sha}","trees_url":"https://api.github.com/repos/lextes/ShowMovie/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lextes/ShowMovie/statuses/{sha}","languages_url":"https://api.github.com/repos/lextes/ShowMovie/languages","stargazers_url":"https://api.github.com/repos/lextes/ShowMovie/stargazers","contributors_url":"https://api.github.com/repos/lextes/ShowMovie/contributors","subscribers_url":"https://api.github.com/repos/lextes/ShowMovie/subscribers","subscription_url":"https://api.github.com/repos/lextes/ShowMovie/subscription","commits_url":"https://api.github.com/repos/lextes/ShowMovie/commits{/sha}","git_commits_url":"https://api.github.com/repos/lextes/ShowMovie/git/commits{/sha}","comments_url":"https://api.github.com/repos/lextes/ShowMovie/comments{/number}","issue_comment_url":"https://api.github.com/repos/lextes/ShowMovie/issues/comments{/number}","contents_url":"https://api.github.com/repos/lextes/ShowMovie/contents/{+path}","compare_url":"https://api.github.com/repos/lextes/ShowMovie/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lextes/ShowMovie/merges","archive_url":"https://api.github.com/repos/lextes/ShowMovie/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lextes/ShowMovie/downloads","issues_url":"https://api.github.com/repos/lextes/ShowMovie/issues{/number}","pulls_url":"https://api.github.com/repos/lextes/ShowMovie/pulls{/number}","milestones_url":"https://api.github.com/repos/lextes/ShowMovie/milestones{/number}","notifications_url":"https://api.github.com/repos/lextes/ShowMovie/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lextes/ShowMovie/labels{/name}","releases_url":"https://api.github.com/repos/lextes/ShowMovie/releases{/id}","deployments_url":"https://api.github.com/repos/lextes/ShowMovie/deployments","created_at":"2016-03-22T15:22:32Z","updated_at":"2016-03-28T18:22:00Z","pushed_at":"2016-04-01T05:40:08Z","git_url":"git://github.com/lextes/ShowMovie.git","ssh_url":"git@github.com:lextes/ShowMovie.git","clone_url":"https://github.com/lextes/ShowMovie.git","svn_url":"https://github.com/lextes/ShowMovie","homepage":null,"size":122,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"lextes:master","ref":"master","sha":"247eb1d32607e3e5cacc44d1f1fd6d60f9ebdf5f","user":{"login":"lextes","id":16492764,"avatar_url":"https://avatars.githubusercontent.com/u/16492764?v=3","gravatar_id":"","url":"https://api.github.com/users/lextes","html_url":"https://github.com/lextes","followers_url":"https://api.github.com/users/lextes/followers","following_url":"https://api.github.com/users/lextes/following{/other_user}","gists_url":"https://api.github.com/users/lextes/gists{/gist_id}","starred_url":"https://api.github.com/users/lextes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lextes/subscriptions","organizations_url":"https://api.github.com/users/lextes/orgs","repos_url":"https://api.github.com/users/lextes/repos","events_url":"https://api.github.com/users/lextes/events{/privacy}","received_events_url":"https://api.github.com/users/lextes/received_events","type":"User","site_admin":false},"repo":{"id":54486075,"name":"ShowMovie","full_name":"lextes/ShowMovie","owner":{"login":"lextes","id":16492764,"avatar_url":"https://avatars.githubusercontent.com/u/16492764?v=3","gravatar_id":"","url":"https://api.github.com/users/lextes","html_url":"https://github.com/lextes","followers_url":"https://api.github.com/users/lextes/followers","following_url":"https://api.github.com/users/lextes/following{/other_user}","gists_url":"https://api.github.com/users/lextes/gists{/gist_id}","starred_url":"https://api.github.com/users/lextes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lextes/subscriptions","organizations_url":"https://api.github.com/users/lextes/orgs","repos_url":"https://api.github.com/users/lextes/repos","events_url":"https://api.github.com/users/lextes/events{/privacy}","received_events_url":"https://api.github.com/users/lextes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lextes/ShowMovie","description":"","fork":false,"url":"https://api.github.com/repos/lextes/ShowMovie","forks_url":"https://api.github.com/repos/lextes/ShowMovie/forks","keys_url":"https://api.github.com/repos/lextes/ShowMovie/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lextes/ShowMovie/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lextes/ShowMovie/teams","hooks_url":"https://api.github.com/repos/lextes/ShowMovie/hooks","issue_events_url":"https://api.github.com/repos/lextes/ShowMovie/issues/events{/number}","events_url":"https://api.github.com/repos/lextes/ShowMovie/events","assignees_url":"https://api.github.com/repos/lextes/ShowMovie/assignees{/user}","branches_url":"https://api.github.com/repos/lextes/ShowMovie/branches{/branch}","tags_url":"https://api.github.com/repos/lextes/ShowMovie/tags","blobs_url":"https://api.github.com/repos/lextes/ShowMovie/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lextes/ShowMovie/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lextes/ShowMovie/git/refs{/sha}","trees_url":"https://api.github.com/repos/lextes/ShowMovie/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lextes/ShowMovie/statuses/{sha}","languages_url":"https://api.github.com/repos/lextes/ShowMovie/languages","stargazers_url":"https://api.github.com/repos/lextes/ShowMovie/stargazers","contributors_url":"https://api.github.com/repos/lextes/ShowMovie/contributors","subscribers_url":"https://api.github.com/repos/lextes/ShowMovie/subscribers","subscription_url":"https://api.github.com/repos/lextes/ShowMovie/subscription","commits_url":"https://api.github.com/repos/lextes/ShowMovie/commits{/sha}","git_commits_url":"https://api.github.com/repos/lextes/ShowMovie/git/commits{/sha}","comments_url":"https://api.github.com/repos/lextes/ShowMovie/comments{/number}","issue_comment_url":"https://api.github.com/repos/lextes/ShowMovie/issues/comments{/number}","contents_url":"https://api.github.com/repos/lextes/ShowMovie/contents/{+path}","compare_url":"https://api.github.com/repos/lextes/ShowMovie/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lextes/ShowMovie/merges","archive_url":"https://api.github.com/repos/lextes/ShowMovie/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lextes/ShowMovie/downloads","issues_url":"https://api.github.com/repos/lextes/ShowMovie/issues{/number}","pulls_url":"https://api.github.com/repos/lextes/ShowMovie/pulls{/number}","milestones_url":"https://api.github.com/repos/lextes/ShowMovie/milestones{/number}","notifications_url":"https://api.github.com/repos/lextes/ShowMovie/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lextes/ShowMovie/labels{/name}","releases_url":"https://api.github.com/repos/lextes/ShowMovie/releases{/id}","deployments_url":"https://api.github.com/repos/lextes/ShowMovie/deployments","created_at":"2016-03-22T15:22:32Z","updated_at":"2016-03-28T18:22:00Z","pushed_at":"2016-04-01T05:40:08Z","git_url":"git://github.com/lextes/ShowMovie.git","ssh_url":"git@github.com:lextes/ShowMovie.git","clone_url":"https://github.com/lextes/ShowMovie.git","svn_url":"https://github.com/lextes/ShowMovie","homepage":null,"size":122,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lextes/ShowMovie/pulls/18"},"html":{"href":"https://github.com/lextes/ShowMovie/pull/18"},"issue":{"href":"https://api.github.com/repos/lextes/ShowMovie/issues/18"},"comments":{"href":"https://api.github.com/repos/lextes/ShowMovie/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/lextes/ShowMovie/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/lextes/ShowMovie/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lextes/ShowMovie/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/lextes/ShowMovie/statuses/6c996a86d257efe62ea89b48021a870e463f6166"}}}}