{"action":"created","issue":{"url":"https://api.github.com/repos/filamentgroup/grunticon/issues/234","labels_url":"https://api.github.com/repos/filamentgroup/grunticon/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/filamentgroup/grunticon/issues/234/comments","events_url":"https://api.github.com/repos/filamentgroup/grunticon/issues/234/events","html_url":"https://github.com/filamentgroup/grunticon/issues/234","id":57989558,"number":234,"title":"'../' in grunticon path parameters does not work","user":{"login":"duhseekoh","id":931588,"avatar_url":"https://avatars.githubusercontent.com/u/931588?v=3","gravatar_id":"","url":"https://api.github.com/users/duhseekoh","html_url":"https://github.com/duhseekoh","followers_url":"https://api.github.com/users/duhseekoh/followers","following_url":"https://api.github.com/users/duhseekoh/following{/other_user}","gists_url":"https://api.github.com/users/duhseekoh/gists{/gist_id}","starred_url":"https://api.github.com/users/duhseekoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duhseekoh/subscriptions","organizations_url":"https://api.github.com/users/duhseekoh/orgs","repos_url":"https://api.github.com/users/duhseekoh/repos","events_url":"https://api.github.com/users/duhseekoh/events{/privacy}","received_events_url":"https://api.github.com/users/duhseekoh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-17T22:03:27Z","updated_at":"2015-07-09T21:57:44Z","closed_at":null,"body":"lets say I have my built directory in my project layed out as such:\r\n```\r\nassets/grunticons\r\n--- grunticon.loader.js\r\n--- icons.data.png.css\r\n--- icons.data.svg.css\r\n--- icons.fallback.css\r\n\r\nstyleguide\r\n--- index.html\r\n```\r\n\r\nin index.html\r\n```\r\n...\r\n<script>\r\n   grunticon([\"../assets/grunticons/icons.data.svg.css\", \"../assets/grunticons/icons.data.png.css\", \"../assets/grunticons/icons.fallback.css\"]);\r\n</script>\r\n...\r\n```\r\n\r\nThat would seem to work, the paths are correct. The 'link' tag is being appended to the stylesheet, but the `media = \"only x\"` is never being removed/replaced with 'all'. \r\n\r\nLooks like the grunticon loader script is sitting in an endless loop because it can never verify that the link tag for the icons sheet has been appended to the page. That check expects `../assets/grunticons/icons.data.svg.css` to be contained in the href of the link tags its looping through. That never happens because the hrefs of the link tags are fully qualified paths like `http://localhost:8080/assets/grunticons/icons.data.svg.css`. \r\n\r\nSo at this point it doesn't seem like its possible to use `../` inside the grunticon paths.\r\n\r\nCan you confirm that?"},"comment":{"url":"https://api.github.com/repos/filamentgroup/grunticon/issues/comments/120157966","html_url":"https://github.com/filamentgroup/grunticon/issues/234#issuecomment-120157966","issue_url":"https://api.github.com/repos/filamentgroup/grunticon/issues/234","id":120157966,"user":{"login":"dominikwilkowski","id":1266923,"avatar_url":"https://avatars.githubusercontent.com/u/1266923?v=3","gravatar_id":"","url":"https://api.github.com/users/dominikwilkowski","html_url":"https://github.com/dominikwilkowski","followers_url":"https://api.github.com/users/dominikwilkowski/followers","following_url":"https://api.github.com/users/dominikwilkowski/following{/other_user}","gists_url":"https://api.github.com/users/dominikwilkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/dominikwilkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominikwilkowski/subscriptions","organizations_url":"https://api.github.com/users/dominikwilkowski/orgs","repos_url":"https://api.github.com/users/dominikwilkowski/repos","events_url":"https://api.github.com/users/dominikwilkowski/events{/privacy}","received_events_url":"https://api.github.com/users/dominikwilkowski/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T21:57:44Z","updated_at":"2015-07-09T21:57:44Z","body":"For right now the only way is to make the path absolute. This is how we \"fixed\" it anyhow..."}}