{"action":"opened","issue":{"url":"https://api.github.com/repos/jnordberg/gif.js/issues/59","repository_url":"https://api.github.com/repos/jnordberg/gif.js","labels_url":"https://api.github.com/repos/jnordberg/gif.js/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/jnordberg/gif.js/issues/59/comments","events_url":"https://api.github.com/repos/jnordberg/gif.js/issues/59/events","html_url":"https://github.com/jnordberg/gif.js/issues/59","id":160624052,"number":59,"title":"Using with requirejs","user":{"login":"joedborg","id":1426404,"avatar_url":"https://avatars.githubusercontent.com/u/1426404?v=3","gravatar_id":"","url":"https://api.github.com/users/joedborg","html_url":"https://github.com/joedborg","followers_url":"https://api.github.com/users/joedborg/followers","following_url":"https://api.github.com/users/joedborg/following{/other_user}","gists_url":"https://api.github.com/users/joedborg/gists{/gist_id}","starred_url":"https://api.github.com/users/joedborg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joedborg/subscriptions","organizations_url":"https://api.github.com/users/joedborg/orgs","repos_url":"https://api.github.com/users/joedborg/repos","events_url":"https://api.github.com/users/joedborg/events{/privacy}","received_events_url":"https://api.github.com/users/joedborg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-16T10:02:32Z","updated_at":"2016-06-16T10:02:32Z","closed_at":null,"body":"Hi,\r\nI'm trying to use this library with require.  I have added both files (gif and gif.worker) to the define and confirmed they are loaded in order (with a shim).  The problem is, everytime I call render, it tries to import it by URL still:\r\n```\r\n10:55:26.393 spawning worker 0 gif.js:1:3912\r\n10:55:26.384 ReferenceError: index is not defined\r\n10:55:26.439 GET \r\nhttp://192.168.215.150/gif.worker.js [HTTP/1.1 404 NOT FOUND 21ms]\r\n10:55:26.453 NetworkError: Failed to load worker script at \"gif.worker.js\"\r\n```\r\n\r\nRequire config is:\r\n\r\n```js\r\n        'gif': '../libraries/gif/gif',\r\n        'gifworker': '../libraries/gif/gif.worker',\r\n```\r\n```js\r\n        'gif': { exports: 'gif', deps: [] },\r\n        'gifworker': { exports: 'gifworker', deps: ['gif'] },\r\n```\r\n\r\nIf I change `exports` to `'gif.worker'`, I get:\r\n```\r\ng is undefined\r\n```\r\n\r\nAny ideas?"}}
{"actor":{"display_login":"joedborg"}}