{"action":"created","comment":{"url":"https://api.github.com/repos/kiwix/kiwix-html5/pulls/comments/68508750","id":68508750,"diff_hunk":"@@ -81,16 +81,36 @@ define(['xzdec_wrapper', 'util', 'utf8'], function(xz, util, utf8) {\n      */\n     ZIMFile.prototype._readSlice = function(offset, size)\n     {\n-        var fileNumber = 0;\n-        var offsetInActualFile = offset;\n-        var fileSize = this._files[0].size;\n-        if (this._files.length > 1 && offset > fileSize) {\n-            // We need to find in which actual file the data must be read\n-            fileNumber = Math.floor(offset / fileSize);\n-            offsetInActualFile = offset - fileNumber * fileSize;","path":"www/js/lib/zimfile.js","position":null,"original_position":10,"commit_id":"7c579340070ab5c3157bceb1cd368a980a1f3ff3","original_commit_id":"4064b18456bf66f7422d4d36a134f53e5b04fa27","user":{"login":"peter-x","id":1299204,"avatar_url":"https://avatars.githubusercontent.com/u/1299204?v=3","gravatar_id":"","url":"https://api.github.com/users/peter-x","html_url":"https://github.com/peter-x","followers_url":"https://api.github.com/users/peter-x/followers","following_url":"https://api.github.com/users/peter-x/following{/other_user}","gists_url":"https://api.github.com/users/peter-x/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-x/subscriptions","organizations_url":"https://api.github.com/users/peter-x/orgs","repos_url":"https://api.github.com/users/peter-x/repos","events_url":"https://api.github.com/users/peter-x/events{/privacy}","received_events_url":"https://api.github.com/users/peter-x/received_events","type":"User","site_admin":false},"body":"That's weird. Are you saying the regression also exists for single-file archives?","created_at":"2016-06-26T20:12:30Z","updated_at":"2016-06-26T20:12:30Z","html_url":"https://github.com/kiwix/kiwix-html5/pull/174#discussion_r68508750","pull_request_url":"https://api.github.com/repos/kiwix/kiwix-html5/pulls/174","_links":{"self":{"href":"https://api.github.com/repos/kiwix/kiwix-html5/pulls/comments/68508750"},"html":{"href":"https://github.com/kiwix/kiwix-html5/pull/174#discussion_r68508750"},"pull_request":{"href":"https://api.github.com/repos/kiwix/kiwix-html5/pulls/174"}}},"pull_request":{"url":"https://api.github.com/repos/kiwix/kiwix-html5/pulls/174","id":74671277,"html_url":"https://github.com/kiwix/kiwix-html5/pull/174","diff_url":"https://github.com/kiwix/kiwix-html5/pull/174.diff","patch_url":"https://github.com/kiwix/kiwix-html5/pull/174.patch","issue_url":"https://api.github.com/repos/kiwix/kiwix-html5/issues/174","number":174,"state":"closed","locked":false,"title":"Basic support of splitted ZIM files","user":{"login":"mossroy","id":890923,"avatar_url":"https://avatars.githubusercontent.com/u/890923?v=3","gravatar_id":"","url":"https://api.github.com/users/mossroy","html_url":"https://github.com/mossroy","followers_url":"https://api.github.com/users/mossroy/followers","following_url":"https://api.github.com/users/mossroy/following{/other_user}","gists_url":"https://api.github.com/users/mossroy/gists{/gist_id}","starred_url":"https://api.github.com/users/mossroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mossroy/subscriptions","organizations_url":"https://api.github.com/users/mossroy/orgs","repos_url":"https://api.github.com/users/mossroy/repos","events_url":"https://api.github.com/users/mossroy/events{/privacy}","received_events_url":"https://api.github.com/users/mossroy/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-21T19:30:42Z","updated_at":"2016-06-26T20:12:30Z","closed_at":"2016-06-26T12:08:31Z","merged_at":"2016-06-26T12:08:31Z","merge_commit_sha":"a9ba9cde1c73db028f25edd93c7d5153f78a17fa","assignee":{"login":"peter-x","id":1299204,"avatar_url":"https://avatars.githubusercontent.com/u/1299204?v=3","gravatar_id":"","url":"https://api.github.com/users/peter-x","html_url":"https://github.com/peter-x","followers_url":"https://api.github.com/users/peter-x/followers","following_url":"https://api.github.com/users/peter-x/following{/other_user}","gists_url":"https://api.github.com/users/peter-x/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-x/subscriptions","organizations_url":"https://api.github.com/users/peter-x/orgs","repos_url":"https://api.github.com/users/peter-x/repos","events_url":"https://api.github.com/users/peter-x/events{/privacy}","received_events_url":"https://api.github.com/users/peter-x/received_events","type":"User","site_admin":false},"assignees":[{"login":"peter-x","id":1299204,"avatar_url":"https://avatars.githubusercontent.com/u/1299204?v=3","gravatar_id":"","url":"https://api.github.com/users/peter-x","html_url":"https://github.com/peter-x","followers_url":"https://api.github.com/users/peter-x/followers","following_url":"https://api.github.com/users/peter-x/following{/other_user}","gists_url":"https://api.github.com/users/peter-x/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-x/subscriptions","organizations_url":"https://api.github.com/users/peter-x/orgs","repos_url":"https://api.github.com/users/peter-x/repos","events_url":"https://api.github.com/users/peter-x/events{/privacy}","received_events_url":"https://api.github.com/users/peter-x/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/kiwix/kiwix-html5/pulls/174/commits","review_comments_url":"https://api.github.com/repos/kiwix/kiwix-html5/pulls/174/comments","review_comment_url":"https://api.github.com/repos/kiwix/kiwix-html5/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kiwix/kiwix-html5/issues/174/comments","statuses_url":"https://api.github.com/repos/kiwix/kiwix-html5/statuses/7c579340070ab5c3157bceb1cd368a980a1f3ff3","head":{"label":"kiwix:issue113","ref":"issue113","sha":"7c579340070ab5c3157bceb1cd368a980a1f3ff3","user":{"login":"kiwix","id":826219,"avatar_url":"https://avatars.githubusercontent.com/u/826219?v=3","gravatar_id":"","url":"https://api.github.com/users/kiwix","html_url":"https://github.com/kiwix","followers_url":"https://api.github.com/users/kiwix/followers","following_url":"https://api.github.com/users/kiwix/following{/other_user}","gists_url":"https://api.github.com/users/kiwix/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwix/subscriptions","organizations_url":"https://api.github.com/users/kiwix/orgs","repos_url":"https://api.github.com/users/kiwix/repos","events_url":"https://api.github.com/users/kiwix/events{/privacy}","received_events_url":"https://api.github.com/users/kiwix/received_events","type":"Organization","site_admin":false},"repo":{"id":7070674,"name":"kiwix-html5","full_name":"kiwix/kiwix-html5","owner":{"login":"kiwix","id":826219,"avatar_url":"https://avatars.githubusercontent.com/u/826219?v=3","gravatar_id":"","url":"https://api.github.com/users/kiwix","html_url":"https://github.com/kiwix","followers_url":"https://api.github.com/users/kiwix/followers","following_url":"https://api.github.com/users/kiwix/following{/other_user}","gists_url":"https://api.github.com/users/kiwix/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwix/subscriptions","organizations_url":"https://api.github.com/users/kiwix/orgs","repos_url":"https://api.github.com/users/kiwix/repos","events_url":"https://api.github.com/users/kiwix/events{/privacy}","received_events_url":"https://api.github.com/users/kiwix/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kiwix/kiwix-html5","description":"Offline wikipedia reader in HTML5/Javascript, with Firefox OS as the primary target","fork":false,"url":"https://api.github.com/repos/kiwix/kiwix-html5","forks_url":"https://api.github.com/repos/kiwix/kiwix-html5/forks","keys_url":"https://api.github.com/repos/kiwix/kiwix-html5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kiwix/kiwix-html5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kiwix/kiwix-html5/teams","hooks_url":"https://api.github.com/repos/kiwix/kiwix-html5/hooks","issue_events_url":"https://api.github.com/repos/kiwix/kiwix-html5/issues/events{/number}","events_url":"https://api.github.com/repos/kiwix/kiwix-html5/events","assignees_url":"https://api.github.com/repos/kiwix/kiwix-html5/assignees{/user}","branches_url":"https://api.github.com/repos/kiwix/kiwix-html5/branches{/branch}","tags_url":"https://api.github.com/repos/kiwix/kiwix-html5/tags","blobs_url":"https://api.github.com/repos/kiwix/kiwix-html5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kiwix/kiwix-html5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kiwix/kiwix-html5/git/refs{/sha}","trees_url":"https://api.github.com/repos/kiwix/kiwix-html5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kiwix/kiwix-html5/statuses/{sha}","languages_url":"https://api.github.com/repos/kiwix/kiwix-html5/languages","stargazers_url":"https://api.github.com/repos/kiwix/kiwix-html5/stargazers","contributors_url":"https://api.github.com/repos/kiwix/kiwix-html5/contributors","subscribers_url":"https://api.github.com/repos/kiwix/kiwix-html5/subscribers","subscription_url":"https://api.github.com/repos/kiwix/kiwix-html5/subscription","commits_url":"https://api.github.com/repos/kiwix/kiwix-html5/commits{/sha}","git_commits_url":"https://api.github.com/repos/kiwix/kiwix-html5/git/commits{/sha}","comments_url":"https://api.github.com/repos/kiwix/kiwix-html5/comments{/number}","issue_comment_url":"https://api.github.com/repos/kiwix/kiwix-html5/issues/comments{/number}","contents_url":"https://api.github.com/repos/kiwix/kiwix-html5/contents/{+path}","compare_url":"https://api.github.com/repos/kiwix/kiwix-html5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kiwix/kiwix-html5/merges","archive_url":"https://api.github.com/repos/kiwix/kiwix-html5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kiwix/kiwix-html5/downloads","issues_url":"https://api.github.com/repos/kiwix/kiwix-html5/issues{/number}","pulls_url":"https://api.github.com/repos/kiwix/kiwix-html5/pulls{/number}","milestones_url":"https://api.github.com/repos/kiwix/kiwix-html5/milestones{/number}","notifications_url":"https://api.github.com/repos/kiwix/kiwix-html5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kiwix/kiwix-html5/labels{/name}","releases_url":"https://api.github.com/repos/kiwix/kiwix-html5/releases{/id}","deployments_url":"https://api.github.com/repos/kiwix/kiwix-html5/deployments","created_at":"2012-12-08T18:34:41Z","updated_at":"2016-06-21T21:55:57Z","pushed_at":"2016-06-26T12:58:34Z","git_url":"git://github.com/kiwix/kiwix-html5.git","ssh_url":"git@github.com:kiwix/kiwix-html5.git","clone_url":"https://github.com/kiwix/kiwix-html5.git","svn_url":"https://github.com/kiwix/kiwix-html5","homepage":"www.evopedia.info","size":9446,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":58,"forks":4,"open_issues":58,"watchers":10,"default_branch":"master"}},"base":{"label":"kiwix:master","ref":"master","sha":"815c9e9f48913a5b49012dd28fd938502de2b516","user":{"login":"kiwix","id":826219,"avatar_url":"https://avatars.githubusercontent.com/u/826219?v=3","gravatar_id":"","url":"https://api.github.com/users/kiwix","html_url":"https://github.com/kiwix","followers_url":"https://api.github.com/users/kiwix/followers","following_url":"https://api.github.com/users/kiwix/following{/other_user}","gists_url":"https://api.github.com/users/kiwix/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwix/subscriptions","organizations_url":"https://api.github.com/users/kiwix/orgs","repos_url":"https://api.github.com/users/kiwix/repos","events_url":"https://api.github.com/users/kiwix/events{/privacy}","received_events_url":"https://api.github.com/users/kiwix/received_events","type":"Organization","site_admin":false},"repo":{"id":7070674,"name":"kiwix-html5","full_name":"kiwix/kiwix-html5","owner":{"login":"kiwix","id":826219,"avatar_url":"https://avatars.githubusercontent.com/u/826219?v=3","gravatar_id":"","url":"https://api.github.com/users/kiwix","html_url":"https://github.com/kiwix","followers_url":"https://api.github.com/users/kiwix/followers","following_url":"https://api.github.com/users/kiwix/following{/other_user}","gists_url":"https://api.github.com/users/kiwix/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwix/subscriptions","organizations_url":"https://api.github.com/users/kiwix/orgs","repos_url":"https://api.github.com/users/kiwix/repos","events_url":"https://api.github.com/users/kiwix/events{/privacy}","received_events_url":"https://api.github.com/users/kiwix/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kiwix/kiwix-html5","description":"Offline wikipedia reader in HTML5/Javascript, with Firefox OS as the primary target","fork":false,"url":"https://api.github.com/repos/kiwix/kiwix-html5","forks_url":"https://api.github.com/repos/kiwix/kiwix-html5/forks","keys_url":"https://api.github.com/repos/kiwix/kiwix-html5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kiwix/kiwix-html5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kiwix/kiwix-html5/teams","hooks_url":"https://api.github.com/repos/kiwix/kiwix-html5/hooks","issue_events_url":"https://api.github.com/repos/kiwix/kiwix-html5/issues/events{/number}","events_url":"https://api.github.com/repos/kiwix/kiwix-html5/events","assignees_url":"https://api.github.com/repos/kiwix/kiwix-html5/assignees{/user}","branches_url":"https://api.github.com/repos/kiwix/kiwix-html5/branches{/branch}","tags_url":"https://api.github.com/repos/kiwix/kiwix-html5/tags","blobs_url":"https://api.github.com/repos/kiwix/kiwix-html5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kiwix/kiwix-html5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kiwix/kiwix-html5/git/refs{/sha}","trees_url":"https://api.github.com/repos/kiwix/kiwix-html5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kiwix/kiwix-html5/statuses/{sha}","languages_url":"https://api.github.com/repos/kiwix/kiwix-html5/languages","stargazers_url":"https://api.github.com/repos/kiwix/kiwix-html5/stargazers","contributors_url":"https://api.github.com/repos/kiwix/kiwix-html5/contributors","subscribers_url":"https://api.github.com/repos/kiwix/kiwix-html5/subscribers","subscription_url":"https://api.github.com/repos/kiwix/kiwix-html5/subscription","commits_url":"https://api.github.com/repos/kiwix/kiwix-html5/commits{/sha}","git_commits_url":"https://api.github.com/repos/kiwix/kiwix-html5/git/commits{/sha}","comments_url":"https://api.github.com/repos/kiwix/kiwix-html5/comments{/number}","issue_comment_url":"https://api.github.com/repos/kiwix/kiwix-html5/issues/comments{/number}","contents_url":"https://api.github.com/repos/kiwix/kiwix-html5/contents/{+path}","compare_url":"https://api.github.com/repos/kiwix/kiwix-html5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kiwix/kiwix-html5/merges","archive_url":"https://api.github.com/repos/kiwix/kiwix-html5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kiwix/kiwix-html5/downloads","issues_url":"https://api.github.com/repos/kiwix/kiwix-html5/issues{/number}","pulls_url":"https://api.github.com/repos/kiwix/kiwix-html5/pulls{/number}","milestones_url":"https://api.github.com/repos/kiwix/kiwix-html5/milestones{/number}","notifications_url":"https://api.github.com/repos/kiwix/kiwix-html5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kiwix/kiwix-html5/labels{/name}","releases_url":"https://api.github.com/repos/kiwix/kiwix-html5/releases{/id}","deployments_url":"https://api.github.com/repos/kiwix/kiwix-html5/deployments","created_at":"2012-12-08T18:34:41Z","updated_at":"2016-06-21T21:55:57Z","pushed_at":"2016-06-26T12:58:34Z","git_url":"git://github.com/kiwix/kiwix-html5.git","ssh_url":"git@github.com:kiwix/kiwix-html5.git","clone_url":"https://github.com/kiwix/kiwix-html5.git","svn_url":"https://github.com/kiwix/kiwix-html5","homepage":"www.evopedia.info","size":9446,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":58,"forks":4,"open_issues":58,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kiwix/kiwix-html5/pulls/174"},"html":{"href":"https://github.com/kiwix/kiwix-html5/pull/174"},"issue":{"href":"https://api.github.com/repos/kiwix/kiwix-html5/issues/174"},"comments":{"href":"https://api.github.com/repos/kiwix/kiwix-html5/issues/174/comments"},"review_comments":{"href":"https://api.github.com/repos/kiwix/kiwix-html5/pulls/174/comments"},"review_comment":{"href":"https://api.github.com/repos/kiwix/kiwix-html5/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kiwix/kiwix-html5/pulls/174/commits"},"statuses":{"href":"https://api.github.com/repos/kiwix/kiwix-html5/statuses/7c579340070ab5c3157bceb1cd368a980a1f3ff3"}}}}
{"actor":{"display_login":"peter-x"}}