{"action":"created","issue":{"url":"https://api.github.com/repos/futurepress/epub.js/issues/219","labels_url":"https://api.github.com/repos/futurepress/epub.js/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/futurepress/epub.js/issues/219/comments","events_url":"https://api.github.com/repos/futurepress/epub.js/issues/219/events","html_url":"https://github.com/futurepress/epub.js/pull/219","id":76994609,"number":219,"title":"Preserve file:// protocol for local links","user":{"login":"jessiehernandez","id":468175,"avatar_url":"https://avatars.githubusercontent.com/u/468175?v=3","gravatar_id":"","url":"https://api.github.com/users/jessiehernandez","html_url":"https://github.com/jessiehernandez","followers_url":"https://api.github.com/users/jessiehernandez/followers","following_url":"https://api.github.com/users/jessiehernandez/following{/other_user}","gists_url":"https://api.github.com/users/jessiehernandez/gists{/gist_id}","starred_url":"https://api.github.com/users/jessiehernandez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessiehernandez/subscriptions","organizations_url":"https://api.github.com/users/jessiehernandez/orgs","repos_url":"https://api.github.com/users/jessiehernandez/repos","events_url":"https://api.github.com/users/jessiehernandez/events{/privacy}","received_events_url":"https://api.github.com/users/jessiehernandez/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-16T09:37:38Z","updated_at":"2015-06-14T02:35:56Z","closed_at":"2015-05-16T14:03:28Z","pull_request":{"url":"https://api.github.com/repos/futurepress/epub.js/pulls/219","html_url":"https://github.com/futurepress/epub.js/pull/219","diff_url":"https://github.com/futurepress/epub.js/pull/219.diff","patch_url":"https://github.com/futurepress/epub.js/pull/219.patch"},"body":"I am currently using epub.js under Titanium for an app I just started to write, and links inside the EPUB were not working. After going through the code, the problem is that Titanium requires the file:// prefix to correctly load files. The same can be said if the epub.js library is used locally, the browser would also require the file:// prefix on links."},"comment":{"url":"https://api.github.com/repos/futurepress/epub.js/issues/comments/111773108","html_url":"https://github.com/futurepress/epub.js/pull/219#issuecomment-111773108","issue_url":"https://api.github.com/repos/futurepress/epub.js/issues/219","id":111773108,"user":{"login":"italoosorio","id":1090415,"avatar_url":"https://avatars.githubusercontent.com/u/1090415?v=3","gravatar_id":"","url":"https://api.github.com/users/italoosorio","html_url":"https://github.com/italoosorio","followers_url":"https://api.github.com/users/italoosorio/followers","following_url":"https://api.github.com/users/italoosorio/following{/other_user}","gists_url":"https://api.github.com/users/italoosorio/gists{/gist_id}","starred_url":"https://api.github.com/users/italoosorio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/italoosorio/subscriptions","organizations_url":"https://api.github.com/users/italoosorio/orgs","repos_url":"https://api.github.com/users/italoosorio/repos","events_url":"https://api.github.com/users/italoosorio/events{/privacy}","received_events_url":"https://api.github.com/users/italoosorio/received_events","type":"User","site_admin":false},"created_at":"2015-06-14T02:35:56Z","updated_at":"2015-06-14T02:35:56Z","body":"To jessiehernandez. Are you loading the EPUB files locally or remotely? I am also programing in Titanium using epub.js to load EPUB files remotely but I can't load the EPUB files stored locally which is what I want. Any help will be appreciated."}}