{"action":"created","issue":{"url":"https://api.github.com/repos/EddieLa/JOB/issues/31","labels_url":"https://api.github.com/repos/EddieLa/JOB/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/EddieLa/JOB/issues/31/comments","events_url":"https://api.github.com/repos/EddieLa/JOB/issues/31/events","html_url":"https://github.com/EddieLa/JOB/issues/31","id":57034296,"number":31,"title":"[Question] Using bower","user":{"login":"igorissen","id":6919604,"avatar_url":"https://avatars.githubusercontent.com/u/6919604?v=3","gravatar_id":"","url":"https://api.github.com/users/igorissen","html_url":"https://github.com/igorissen","followers_url":"https://api.github.com/users/igorissen/followers","following_url":"https://api.github.com/users/igorissen/following{/other_user}","gists_url":"https://api.github.com/users/igorissen/gists{/gist_id}","starred_url":"https://api.github.com/users/igorissen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorissen/subscriptions","organizations_url":"https://api.github.com/users/igorissen/orgs","repos_url":"https://api.github.com/users/igorissen/repos","events_url":"https://api.github.com/users/igorissen/events{/privacy}","received_events_url":"https://api.github.com/users/igorissen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-09T14:04:23Z","updated_at":"2015-02-10T14:01:18Z","closed_at":null,"body":"Hi,\r\n\r\nFor my Angular project, I'm using Bower. So I've executed this command because there isn't (for now) a bower package for your library :\r\n\r\n```\r\nbower install --save https://github.com/EddieLa/JOB.git\r\n```\r\n\r\nIt works great. First question: did you intend to create a bower package for your library ?\r\nNow when you include the library\r\n\r\n```\r\n...\r\n<script src=\"assets/vendor/JOB/src/JOB.js\"></script>\r\n...\r\n```\r\n\r\nand call the init function\r\n\r\n```\r\n...\r\nJOB.Init();\r\n...\r\n```\r\n\r\nthese lines place some issues\r\n\r\n```\r\n...\r\nDecoderWorker: new Worker(\"DecoderWorker.js\"),\r\n...\r\nInit: function () {\r\n...\r\nscript.src = \"exif.js\";\r\n...\r\n}\r\n```\r\n\r\nbecause `DecoderWorker.js` and `exif.js` have a wrong file path. If I want your library to work I need to change your code to\r\n\r\n```\r\n...\r\nDecoderWorker: new Worker(\"assets/vendor/JOB/src/DecoderWorker.js\"),\r\n...\r\nInit: function () {\r\n...\r\nscript.src = \"assets/vendor/JOB/src/exif.js\";\r\n...\r\n}\r\n```\r\n\r\nand it's a complicated when you want to deploy your application. Maybe it would be better to add the `DecoderWorker.js` and `exif.js` files like your library\r\n\r\n```\r\n<script src=\"path/to/DecoderWorker.js\"></script>\r\n<script src=\"path/to/exif.js\"></script>\r\n<script src=\"path/to/JOB.js\"></script>\r\n```\r\n\r\nWhat do you think about this?"},"comment":{"url":"https://api.github.com/repos/EddieLa/JOB/issues/comments/73703143","html_url":"https://github.com/EddieLa/JOB/issues/31#issuecomment-73703143","issue_url":"https://api.github.com/repos/EddieLa/JOB/issues/31","id":73703143,"user":{"login":"igorissen","id":6919604,"avatar_url":"https://avatars.githubusercontent.com/u/6919604?v=3","gravatar_id":"","url":"https://api.github.com/users/igorissen","html_url":"https://github.com/igorissen","followers_url":"https://api.github.com/users/igorissen/followers","following_url":"https://api.github.com/users/igorissen/following{/other_user}","gists_url":"https://api.github.com/users/igorissen/gists{/gist_id}","starred_url":"https://api.github.com/users/igorissen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorissen/subscriptions","organizations_url":"https://api.github.com/users/igorissen/orgs","repos_url":"https://api.github.com/users/igorissen/repos","events_url":"https://api.github.com/users/igorissen/events{/privacy}","received_events_url":"https://api.github.com/users/igorissen/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T14:01:18Z","updated_at":"2015-02-10T14:01:18Z","body":"Ok. I will try to create a bower package for your library. It's also the first time for me."}}