{"action":"created","issue":{"url":"https://api.github.com/repos/nodeca/bag.js/issues/18","repository_url":"https://api.github.com/repos/nodeca/bag.js","labels_url":"https://api.github.com/repos/nodeca/bag.js/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/nodeca/bag.js/issues/18/comments","events_url":"https://api.github.com/repos/nodeca/bag.js/issues/18/events","html_url":"https://github.com/nodeca/bag.js/issues/18","id":173785952,"number":18,"title":"Cannot load relative import in css.","user":{"login":"loggerhead","id":5056390,"avatar_url":"https://avatars.githubusercontent.com/u/5056390?v=3","gravatar_id":"","url":"https://api.github.com/users/loggerhead","html_url":"https://github.com/loggerhead","followers_url":"https://api.github.com/users/loggerhead/followers","following_url":"https://api.github.com/users/loggerhead/following{/other_user}","gists_url":"https://api.github.com/users/loggerhead/gists{/gist_id}","starred_url":"https://api.github.com/users/loggerhead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loggerhead/subscriptions","organizations_url":"https://api.github.com/users/loggerhead/orgs","repos_url":"https://api.github.com/users/loggerhead/repos","events_url":"https://api.github.com/users/loggerhead/events{/privacy}","received_events_url":"https://api.github.com/users/loggerhead/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-29T14:21:19Z","updated_at":"2016-08-29T14:23:43Z","closed_at":"2016-08-29T14:23:43Z","body":"For example, I have a style file like:\r\n\r\n```css\r\n/* foo.css */\r\n@import url(bar.css);\r\n```\r\n\r\nand I call bag.js as the following:\r\n\r\n```js\r\nvar bag = new window.Bag();\r\nbag.require([\"foo.css\"]);\r\n```\r\n\r\nIt will success load `foo.css`, but not load `bar.css`."},"comment":{"url":"https://api.github.com/repos/nodeca/bag.js/issues/comments/243138887","html_url":"https://github.com/nodeca/bag.js/issues/18#issuecomment-243138887","issue_url":"https://api.github.com/repos/nodeca/bag.js/issues/18","id":243138887,"user":{"login":"puzrin","id":319465,"avatar_url":"https://avatars.githubusercontent.com/u/319465?v=3","gravatar_id":"","url":"https://api.github.com/users/puzrin","html_url":"https://github.com/puzrin","followers_url":"https://api.github.com/users/puzrin/followers","following_url":"https://api.github.com/users/puzrin/following{/other_user}","gists_url":"https://api.github.com/users/puzrin/gists{/gist_id}","starred_url":"https://api.github.com/users/puzrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puzrin/subscriptions","organizations_url":"https://api.github.com/users/puzrin/orgs","repos_url":"https://api.github.com/users/puzrin/repos","events_url":"https://api.github.com/users/puzrin/events{/privacy}","received_events_url":"https://api.github.com/users/puzrin/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T14:23:43Z","updated_at":"2016-08-29T14:23:43Z","body":"Yes, you need to pass full paths. `bag.js` does not know where you are."}}
{"actor":{"display_login":"puzrin"}}