{"action":"created","comment":{"url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/pulls/comments/32497786","id":32497786,"diff_hunk":"@@ -71,9 +71,13 @@ define([\n             done(null, $sectionPage);\n         },\n \n-        itemPage: function renderItemPage(item, uri, pageNum, done) {\n+        itemPage: function renderItemPage(item, uri, pageNum, assets,  done) {\n             var $itemContainer = this.createPage('item');\n \n+            if(typeof assets !== 'undefined'){\n+                item.assets = assets;\n+            }","path":"views/js/runner/testRunner.js","position":10,"original_position":10,"commit_id":"f47a4c7f6601930acb38d186ab8b206e8ccb10fc","original_commit_id":"f47a4c7f6601930acb38d186ab8b206e8ccb10fc","user":{"login":"krampstudio","id":468620,"avatar_url":"https://avatars.githubusercontent.com/u/468620?v=3","gravatar_id":"","url":"https://api.github.com/users/krampstudio","html_url":"https://github.com/krampstudio","followers_url":"https://api.github.com/users/krampstudio/followers","following_url":"https://api.github.com/users/krampstudio/following{/other_user}","gists_url":"https://api.github.com/users/krampstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/krampstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krampstudio/subscriptions","organizations_url":"https://api.github.com/users/krampstudio/orgs","repos_url":"https://api.github.com/users/krampstudio/repos","events_url":"https://api.github.com/users/krampstudio/events{/privacy}","received_events_url":"https://api.github.com/users/krampstudio/received_events","type":"User","site_admin":false},"body":"Instead of doing that, you have access to the asset strategies there. ","created_at":"2015-06-16T07:50:08Z","updated_at":"2015-06-16T07:50:08Z","html_url":"https://github.com/oat-sa/extension-tao-qtiprint/pull/14#discussion_r32497786","pull_request_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/pulls/comments/32497786"},"html":{"href":"https://github.com/oat-sa/extension-tao-qtiprint/pull/14#discussion_r32497786"},"pull_request":{"href":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/pulls/14","id":37764805,"html_url":"https://github.com/oat-sa/extension-tao-qtiprint/pull/14","diff_url":"https://github.com/oat-sa/extension-tao-qtiprint/pull/14.diff","patch_url":"https://github.com/oat-sa/extension-tao-qtiprint/pull/14.patch","issue_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/issues/14","number":14,"state":"open","locked":false,"title":"TAO-838 get item assets to allow renderer to display base64 encoded i…","user":{"login":"antoinerobin","id":5881795,"avatar_url":"https://avatars.githubusercontent.com/u/5881795?v=3","gravatar_id":"","url":"https://api.github.com/users/antoinerobin","html_url":"https://github.com/antoinerobin","followers_url":"https://api.github.com/users/antoinerobin/followers","following_url":"https://api.github.com/users/antoinerobin/following{/other_user}","gists_url":"https://api.github.com/users/antoinerobin/gists{/gist_id}","starred_url":"https://api.github.com/users/antoinerobin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoinerobin/subscriptions","organizations_url":"https://api.github.com/users/antoinerobin/orgs","repos_url":"https://api.github.com/users/antoinerobin/repos","events_url":"https://api.github.com/users/antoinerobin/events{/privacy}","received_events_url":"https://api.github.com/users/antoinerobin/received_events","type":"User","site_admin":false},"body":"…mages","created_at":"2015-06-16T06:59:34Z","updated_at":"2015-06-16T07:50:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f5e70bae2a03a6cf9849f797d4b409eda3234e5","assignee":{"login":"krampstudio","id":468620,"avatar_url":"https://avatars.githubusercontent.com/u/468620?v=3","gravatar_id":"","url":"https://api.github.com/users/krampstudio","html_url":"https://github.com/krampstudio","followers_url":"https://api.github.com/users/krampstudio/followers","following_url":"https://api.github.com/users/krampstudio/following{/other_user}","gists_url":"https://api.github.com/users/krampstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/krampstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krampstudio/subscriptions","organizations_url":"https://api.github.com/users/krampstudio/orgs","repos_url":"https://api.github.com/users/krampstudio/repos","events_url":"https://api.github.com/users/krampstudio/events{/privacy}","received_events_url":"https://api.github.com/users/krampstudio/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/pulls/14/commits","review_comments_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/pulls/14/comments","review_comment_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/issues/14/comments","statuses_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/statuses/f47a4c7f6601930acb38d186ab8b206e8ccb10fc","head":{"label":"oat-sa:fix/diplay-image-booklet","ref":"fix/diplay-image-booklet","sha":"f47a4c7f6601930acb38d186ab8b206e8ccb10fc","user":{"login":"oat-sa","id":7581081,"avatar_url":"https://avatars.githubusercontent.com/u/7581081?v=3","gravatar_id":"","url":"https://api.github.com/users/oat-sa","html_url":"https://github.com/oat-sa","followers_url":"https://api.github.com/users/oat-sa/followers","following_url":"https://api.github.com/users/oat-sa/following{/other_user}","gists_url":"https://api.github.com/users/oat-sa/gists{/gist_id}","starred_url":"https://api.github.com/users/oat-sa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oat-sa/subscriptions","organizations_url":"https://api.github.com/users/oat-sa/orgs","repos_url":"https://api.github.com/users/oat-sa/repos","events_url":"https://api.github.com/users/oat-sa/events{/privacy}","received_events_url":"https://api.github.com/users/oat-sa/received_events","type":"Organization","site_admin":false},"repo":{"id":32008603,"name":"extension-tao-qtiprint","full_name":"oat-sa/extension-tao-qtiprint","owner":{"login":"oat-sa","id":7581081,"avatar_url":"https://avatars.githubusercontent.com/u/7581081?v=3","gravatar_id":"","url":"https://api.github.com/users/oat-sa","html_url":"https://github.com/oat-sa","followers_url":"https://api.github.com/users/oat-sa/followers","following_url":"https://api.github.com/users/oat-sa/following{/other_user}","gists_url":"https://api.github.com/users/oat-sa/gists{/gist_id}","starred_url":"https://api.github.com/users/oat-sa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oat-sa/subscriptions","organizations_url":"https://api.github.com/users/oat-sa/orgs","repos_url":"https://api.github.com/users/oat-sa/repos","events_url":"https://api.github.com/users/oat-sa/events{/privacy}","received_events_url":"https://api.github.com/users/oat-sa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oat-sa/extension-tao-qtiprint","description":"Provides printable rendering for QTI Items","fork":false,"url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint","forks_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/forks","keys_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/teams","hooks_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/hooks","issue_events_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/issues/events{/number}","events_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/events","assignees_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/assignees{/user}","branches_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/branches{/branch}","tags_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/tags","blobs_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/git/refs{/sha}","trees_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/statuses/{sha}","languages_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/languages","stargazers_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/stargazers","contributors_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/contributors","subscribers_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/subscribers","subscription_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/subscription","commits_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/commits{/sha}","git_commits_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/git/commits{/sha}","comments_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/comments{/number}","issue_comment_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/issues/comments{/number}","contents_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/contents/{+path}","compare_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/merges","archive_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/downloads","issues_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/issues{/number}","pulls_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/pulls{/number}","milestones_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/milestones{/number}","notifications_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/labels{/name}","releases_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/releases{/id}","created_at":"2015-03-11T09:18:30Z","updated_at":"2015-04-17T14:15:06Z","pushed_at":"2015-06-16T06:59:34Z","git_url":"git://github.com/oat-sa/extension-tao-qtiprint.git","ssh_url":"git@github.com:oat-sa/extension-tao-qtiprint.git","clone_url":"https://github.com/oat-sa/extension-tao-qtiprint.git","svn_url":"https://github.com/oat-sa/extension-tao-qtiprint","homepage":null,"size":392,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"oat-sa:develop","ref":"develop","sha":"24ef7ea3d5cfcc4020345b5255760d7dea4fe34c","user":{"login":"oat-sa","id":7581081,"avatar_url":"https://avatars.githubusercontent.com/u/7581081?v=3","gravatar_id":"","url":"https://api.github.com/users/oat-sa","html_url":"https://github.com/oat-sa","followers_url":"https://api.github.com/users/oat-sa/followers","following_url":"https://api.github.com/users/oat-sa/following{/other_user}","gists_url":"https://api.github.com/users/oat-sa/gists{/gist_id}","starred_url":"https://api.github.com/users/oat-sa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oat-sa/subscriptions","organizations_url":"https://api.github.com/users/oat-sa/orgs","repos_url":"https://api.github.com/users/oat-sa/repos","events_url":"https://api.github.com/users/oat-sa/events{/privacy}","received_events_url":"https://api.github.com/users/oat-sa/received_events","type":"Organization","site_admin":false},"repo":{"id":32008603,"name":"extension-tao-qtiprint","full_name":"oat-sa/extension-tao-qtiprint","owner":{"login":"oat-sa","id":7581081,"avatar_url":"https://avatars.githubusercontent.com/u/7581081?v=3","gravatar_id":"","url":"https://api.github.com/users/oat-sa","html_url":"https://github.com/oat-sa","followers_url":"https://api.github.com/users/oat-sa/followers","following_url":"https://api.github.com/users/oat-sa/following{/other_user}","gists_url":"https://api.github.com/users/oat-sa/gists{/gist_id}","starred_url":"https://api.github.com/users/oat-sa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oat-sa/subscriptions","organizations_url":"https://api.github.com/users/oat-sa/orgs","repos_url":"https://api.github.com/users/oat-sa/repos","events_url":"https://api.github.com/users/oat-sa/events{/privacy}","received_events_url":"https://api.github.com/users/oat-sa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oat-sa/extension-tao-qtiprint","description":"Provides printable rendering for QTI Items","fork":false,"url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint","forks_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/forks","keys_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/teams","hooks_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/hooks","issue_events_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/issues/events{/number}","events_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/events","assignees_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/assignees{/user}","branches_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/branches{/branch}","tags_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/tags","blobs_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/git/refs{/sha}","trees_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/statuses/{sha}","languages_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/languages","stargazers_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/stargazers","contributors_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/contributors","subscribers_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/subscribers","subscription_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/subscription","commits_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/commits{/sha}","git_commits_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/git/commits{/sha}","comments_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/comments{/number}","issue_comment_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/issues/comments{/number}","contents_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/contents/{+path}","compare_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/merges","archive_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/downloads","issues_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/issues{/number}","pulls_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/pulls{/number}","milestones_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/milestones{/number}","notifications_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/labels{/name}","releases_url":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/releases{/id}","created_at":"2015-03-11T09:18:30Z","updated_at":"2015-04-17T14:15:06Z","pushed_at":"2015-06-16T06:59:34Z","git_url":"git://github.com/oat-sa/extension-tao-qtiprint.git","ssh_url":"git@github.com:oat-sa/extension-tao-qtiprint.git","clone_url":"https://github.com/oat-sa/extension-tao-qtiprint.git","svn_url":"https://github.com/oat-sa/extension-tao-qtiprint","homepage":null,"size":392,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/pulls/14"},"html":{"href":"https://github.com/oat-sa/extension-tao-qtiprint/pull/14"},"issue":{"href":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/issues/14"},"comments":{"href":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/oat-sa/extension-tao-qtiprint/statuses/f47a4c7f6601930acb38d186ab8b206e8ccb10fc"}}}}