{"action":"created","comment":{"url":"https://api.github.com/repos/molgenis/molgenis/pulls/comments/22588595","id":22588595,"diff_hunk":"@@ -107,8 +119,7 @@\n \tfunction checkDatasetAvailable(dataset) {\n \t\trestApi.getAsync('/api/v1/' + dataset, {'num' : 1},\tfunction(data){\n \t\t\tif (data.total === 0) {\n-\t\t\t\tvar warningSrc = $('#hb-dataset-warning').html();\n-\t\t\t\tvar template = Handlebars.compile(warningSrc);\n+\t\t\t\tvar template = Handlebars.compile(hbDatasetWarning.html());","path":"molgenis-dataexplorer/src/main/resources/js/dataexplorer-diseasematcher.js","position":75,"original_position":75,"commit_id":"02180d69bd8711390ba7fc8d3a2b273990265eb0","original_commit_id":"02180d69bd8711390ba7fc8d3a2b273990265eb0","user":{"login":"dennishendriksen","id":2477186,"avatar_url":"https://avatars.githubusercontent.com/u/2477186?v=3","gravatar_id":"","url":"https://api.github.com/users/dennishendriksen","html_url":"https://github.com/dennishendriksen","followers_url":"https://api.github.com/users/dennishendriksen/followers","following_url":"https://api.github.com/users/dennishendriksen/following{/other_user}","gists_url":"https://api.github.com/users/dennishendriksen/gists{/gist_id}","starred_url":"https://api.github.com/users/dennishendriksen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennishendriksen/subscriptions","organizations_url":"https://api.github.com/users/dennishendriksen/orgs","repos_url":"https://api.github.com/users/dennishendriksen/repos","events_url":"https://api.github.com/users/dennishendriksen/events{/privacy}","received_events_url":"https://api.github.com/users/dennishendriksen/received_events","type":"User","site_admin":false},"body":"Performance: compile handlebars template once, use multiple times","created_at":"2015-01-07T14:38:05Z","updated_at":"2015-01-07T14:38:05Z","html_url":"https://github.com/molgenis/molgenis/pull/2284#discussion_r22588595","pull_request_url":"https://api.github.com/repos/molgenis/molgenis/pulls/2284","_links":{"self":{"href":"https://api.github.com/repos/molgenis/molgenis/pulls/comments/22588595"},"html":{"href":"https://github.com/molgenis/molgenis/pull/2284#discussion_r22588595"},"pull_request":{"href":"https://api.github.com/repos/molgenis/molgenis/pulls/2284"}}},"pull_request":{"url":"https://api.github.com/repos/molgenis/molgenis/pulls/2284","id":26956214,"html_url":"https://github.com/molgenis/molgenis/pull/2284","diff_url":"https://github.com/molgenis/molgenis/pull/2284.diff","patch_url":"https://github.com/molgenis/molgenis/pull/2284.patch","issue_url":"https://api.github.com/repos/molgenis/molgenis/issues/2284","number":2284,"state":"open","locked":false,"title":"DiseaseMatcher v1.0","user":{"login":"tommydeboer","id":5362890,"avatar_url":"https://avatars.githubusercontent.com/u/5362890?v=3","gravatar_id":"","url":"https://api.github.com/users/tommydeboer","html_url":"https://github.com/tommydeboer","followers_url":"https://api.github.com/users/tommydeboer/followers","following_url":"https://api.github.com/users/tommydeboer/following{/other_user}","gists_url":"https://api.github.com/users/tommydeboer/gists{/gist_id}","starred_url":"https://api.github.com/users/tommydeboer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommydeboer/subscriptions","organizations_url":"https://api.github.com/users/tommydeboer/orgs","repos_url":"https://api.github.com/users/tommydeboer/repos","events_url":"https://api.github.com/users/tommydeboer/events{/privacy}","received_events_url":"https://api.github.com/users/tommydeboer/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-07T13:12:24Z","updated_at":"2015-01-07T14:38:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3889dfcbb47bc491b006cda71b15bf0b65e8ac5e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/molgenis/molgenis/pulls/2284/commits","review_comments_url":"https://api.github.com/repos/molgenis/molgenis/pulls/2284/comments","review_comment_url":"https://api.github.com/repos/molgenis/molgenis/pulls/comments/{number}","comments_url":"https://api.github.com/repos/molgenis/molgenis/issues/2284/comments","statuses_url":"https://api.github.com/repos/molgenis/molgenis/statuses/02180d69bd8711390ba7fc8d3a2b273990265eb0","head":{"label":"tommydeboer:master","ref":"master","sha":"02180d69bd8711390ba7fc8d3a2b273990265eb0","user":{"login":"tommydeboer","id":5362890,"avatar_url":"https://avatars.githubusercontent.com/u/5362890?v=3","gravatar_id":"","url":"https://api.github.com/users/tommydeboer","html_url":"https://github.com/tommydeboer","followers_url":"https://api.github.com/users/tommydeboer/followers","following_url":"https://api.github.com/users/tommydeboer/following{/other_user}","gists_url":"https://api.github.com/users/tommydeboer/gists{/gist_id}","starred_url":"https://api.github.com/users/tommydeboer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommydeboer/subscriptions","organizations_url":"https://api.github.com/users/tommydeboer/orgs","repos_url":"https://api.github.com/users/tommydeboer/repos","events_url":"https://api.github.com/users/tommydeboer/events{/privacy}","received_events_url":"https://api.github.com/users/tommydeboer/received_events","type":"User","site_admin":false},"repo":{"id":18511804,"name":"molgenis","full_name":"tommydeboer/molgenis","owner":{"login":"tommydeboer","id":5362890,"avatar_url":"https://avatars.githubusercontent.com/u/5362890?v=3","gravatar_id":"","url":"https://api.github.com/users/tommydeboer","html_url":"https://github.com/tommydeboer","followers_url":"https://api.github.com/users/tommydeboer/followers","following_url":"https://api.github.com/users/tommydeboer/following{/other_user}","gists_url":"https://api.github.com/users/tommydeboer/gists{/gist_id}","starred_url":"https://api.github.com/users/tommydeboer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommydeboer/subscriptions","organizations_url":"https://api.github.com/users/tommydeboer/orgs","repos_url":"https://api.github.com/users/tommydeboer/repos","events_url":"https://api.github.com/users/tommydeboer/events{/privacy}","received_events_url":"https://api.github.com/users/tommydeboer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tommydeboer/molgenis","description":"MOLGENIS is an collaborative open source project on a mission to generate great software infrastructure for life science research. ","fork":true,"url":"https://api.github.com/repos/tommydeboer/molgenis","forks_url":"https://api.github.com/repos/tommydeboer/molgenis/forks","keys_url":"https://api.github.com/repos/tommydeboer/molgenis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tommydeboer/molgenis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tommydeboer/molgenis/teams","hooks_url":"https://api.github.com/repos/tommydeboer/molgenis/hooks","issue_events_url":"https://api.github.com/repos/tommydeboer/molgenis/issues/events{/number}","events_url":"https://api.github.com/repos/tommydeboer/molgenis/events","assignees_url":"https://api.github.com/repos/tommydeboer/molgenis/assignees{/user}","branches_url":"https://api.github.com/repos/tommydeboer/molgenis/branches{/branch}","tags_url":"https://api.github.com/repos/tommydeboer/molgenis/tags","blobs_url":"https://api.github.com/repos/tommydeboer/molgenis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tommydeboer/molgenis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tommydeboer/molgenis/git/refs{/sha}","trees_url":"https://api.github.com/repos/tommydeboer/molgenis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tommydeboer/molgenis/statuses/{sha}","languages_url":"https://api.github.com/repos/tommydeboer/molgenis/languages","stargazers_url":"https://api.github.com/repos/tommydeboer/molgenis/stargazers","contributors_url":"https://api.github.com/repos/tommydeboer/molgenis/contributors","subscribers_url":"https://api.github.com/repos/tommydeboer/molgenis/subscribers","subscription_url":"https://api.github.com/repos/tommydeboer/molgenis/subscription","commits_url":"https://api.github.com/repos/tommydeboer/molgenis/commits{/sha}","git_commits_url":"https://api.github.com/repos/tommydeboer/molgenis/git/commits{/sha}","comments_url":"https://api.github.com/repos/tommydeboer/molgenis/comments{/number}","issue_comment_url":"https://api.github.com/repos/tommydeboer/molgenis/issues/comments/{number}","contents_url":"https://api.github.com/repos/tommydeboer/molgenis/contents/{+path}","compare_url":"https://api.github.com/repos/tommydeboer/molgenis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tommydeboer/molgenis/merges","archive_url":"https://api.github.com/repos/tommydeboer/molgenis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tommydeboer/molgenis/downloads","issues_url":"https://api.github.com/repos/tommydeboer/molgenis/issues{/number}","pulls_url":"https://api.github.com/repos/tommydeboer/molgenis/pulls{/number}","milestones_url":"https://api.github.com/repos/tommydeboer/molgenis/milestones{/number}","notifications_url":"https://api.github.com/repos/tommydeboer/molgenis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tommydeboer/molgenis/labels{/name}","releases_url":"https://api.github.com/repos/tommydeboer/molgenis/releases{/id}","created_at":"2014-04-07T09:18:01Z","updated_at":"2015-01-07T11:55:54Z","pushed_at":"2015-01-07T11:55:53Z","git_url":"git://github.com/tommydeboer/molgenis.git","ssh_url":"git@github.com:tommydeboer/molgenis.git","clone_url":"https://github.com/tommydeboer/molgenis.git","svn_url":"https://github.com/tommydeboer/molgenis","homepage":"","size":42436,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"molgenis:master","ref":"master","sha":"94abd682ccb502af95518173c2b96b98bbb7a9a9","user":{"login":"molgenis","id":1688158,"avatar_url":"https://avatars.githubusercontent.com/u/1688158?v=3","gravatar_id":"","url":"https://api.github.com/users/molgenis","html_url":"https://github.com/molgenis","followers_url":"https://api.github.com/users/molgenis/followers","following_url":"https://api.github.com/users/molgenis/following{/other_user}","gists_url":"https://api.github.com/users/molgenis/gists{/gist_id}","starred_url":"https://api.github.com/users/molgenis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/molgenis/subscriptions","organizations_url":"https://api.github.com/users/molgenis/orgs","repos_url":"https://api.github.com/users/molgenis/repos","events_url":"https://api.github.com/users/molgenis/events{/privacy}","received_events_url":"https://api.github.com/users/molgenis/received_events","type":"Organization","site_admin":false},"repo":{"id":8010626,"name":"molgenis","full_name":"molgenis/molgenis","owner":{"login":"molgenis","id":1688158,"avatar_url":"https://avatars.githubusercontent.com/u/1688158?v=3","gravatar_id":"","url":"https://api.github.com/users/molgenis","html_url":"https://github.com/molgenis","followers_url":"https://api.github.com/users/molgenis/followers","following_url":"https://api.github.com/users/molgenis/following{/other_user}","gists_url":"https://api.github.com/users/molgenis/gists{/gist_id}","starred_url":"https://api.github.com/users/molgenis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/molgenis/subscriptions","organizations_url":"https://api.github.com/users/molgenis/orgs","repos_url":"https://api.github.com/users/molgenis/repos","events_url":"https://api.github.com/users/molgenis/events{/privacy}","received_events_url":"https://api.github.com/users/molgenis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/molgenis/molgenis","description":"MOLGENIS is an collaborative open source project on a mission to generate great software infrastructure for life science research. ","fork":false,"url":"https://api.github.com/repos/molgenis/molgenis","forks_url":"https://api.github.com/repos/molgenis/molgenis/forks","keys_url":"https://api.github.com/repos/molgenis/molgenis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/molgenis/molgenis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/molgenis/molgenis/teams","hooks_url":"https://api.github.com/repos/molgenis/molgenis/hooks","issue_events_url":"https://api.github.com/repos/molgenis/molgenis/issues/events{/number}","events_url":"https://api.github.com/repos/molgenis/molgenis/events","assignees_url":"https://api.github.com/repos/molgenis/molgenis/assignees{/user}","branches_url":"https://api.github.com/repos/molgenis/molgenis/branches{/branch}","tags_url":"https://api.github.com/repos/molgenis/molgenis/tags","blobs_url":"https://api.github.com/repos/molgenis/molgenis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/molgenis/molgenis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/molgenis/molgenis/git/refs{/sha}","trees_url":"https://api.github.com/repos/molgenis/molgenis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/molgenis/molgenis/statuses/{sha}","languages_url":"https://api.github.com/repos/molgenis/molgenis/languages","stargazers_url":"https://api.github.com/repos/molgenis/molgenis/stargazers","contributors_url":"https://api.github.com/repos/molgenis/molgenis/contributors","subscribers_url":"https://api.github.com/repos/molgenis/molgenis/subscribers","subscription_url":"https://api.github.com/repos/molgenis/molgenis/subscription","commits_url":"https://api.github.com/repos/molgenis/molgenis/commits{/sha}","git_commits_url":"https://api.github.com/repos/molgenis/molgenis/git/commits{/sha}","comments_url":"https://api.github.com/repos/molgenis/molgenis/comments{/number}","issue_comment_url":"https://api.github.com/repos/molgenis/molgenis/issues/comments/{number}","contents_url":"https://api.github.com/repos/molgenis/molgenis/contents/{+path}","compare_url":"https://api.github.com/repos/molgenis/molgenis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/molgenis/molgenis/merges","archive_url":"https://api.github.com/repos/molgenis/molgenis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/molgenis/molgenis/downloads","issues_url":"https://api.github.com/repos/molgenis/molgenis/issues{/number}","pulls_url":"https://api.github.com/repos/molgenis/molgenis/pulls{/number}","milestones_url":"https://api.github.com/repos/molgenis/molgenis/milestones{/number}","notifications_url":"https://api.github.com/repos/molgenis/molgenis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/molgenis/molgenis/labels{/name}","releases_url":"https://api.github.com/repos/molgenis/molgenis/releases{/id}","created_at":"2013-02-04T16:02:36Z","updated_at":"2015-01-07T07:57:17Z","pushed_at":"2015-01-07T07:57:16Z","git_url":"git://github.com/molgenis/molgenis.git","ssh_url":"git@github.com:molgenis/molgenis.git","clone_url":"https://github.com/molgenis/molgenis.git","svn_url":"https://github.com/molgenis/molgenis","homepage":"","size":51273,"stargazers_count":13,"watchers_count":13,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":104,"forks":37,"open_issues":104,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/molgenis/molgenis/pulls/2284"},"html":{"href":"https://github.com/molgenis/molgenis/pull/2284"},"issue":{"href":"https://api.github.com/repos/molgenis/molgenis/issues/2284"},"comments":{"href":"https://api.github.com/repos/molgenis/molgenis/issues/2284/comments"},"review_comments":{"href":"https://api.github.com/repos/molgenis/molgenis/pulls/2284/comments"},"review_comment":{"href":"https://api.github.com/repos/molgenis/molgenis/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/molgenis/molgenis/pulls/2284/commits"},"statuses":{"href":"https://api.github.com/repos/molgenis/molgenis/statuses/02180d69bd8711390ba7fc8d3a2b273990265eb0"}}}}