{"action":"created","issue":{"url":"https://api.github.com/repos/less/less.js/issues/2629","repository_url":"https://api.github.com/repos/less/less.js","labels_url":"https://api.github.com/repos/less/less.js/issues/2629/labels{/name}","comments_url":"https://api.github.com/repos/less/less.js/issues/2629/comments","events_url":"https://api.github.com/repos/less/less.js/issues/2629/events","html_url":"https://github.com/less/less.js/issues/2629","id":93820560,"node_id":"MDU6SXNzdWU5MzgyMDU2MA==","number":2629,"title":"data-uri function uses path of data-uri call, not the string with the path to the file in.","user":{"login":"lukeapage","id":309321,"node_id":"MDQ6VXNlcjMwOTMyMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/309321?v=4","gravatar_id":"","url":"https://api.github.com/users/lukeapage","html_url":"https://github.com/lukeapage","followers_url":"https://api.github.com/users/lukeapage/followers","following_url":"https://api.github.com/users/lukeapage/following{/other_user}","gists_url":"https://api.github.com/users/lukeapage/gists{/gist_id}","starred_url":"https://api.github.com/users/lukeapage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukeapage/subscriptions","organizations_url":"https://api.github.com/users/lukeapage/orgs","repos_url":"https://api.github.com/users/lukeapage/repos","events_url":"https://api.github.com/users/lukeapage/events{/privacy}","received_events_url":"https://api.github.com/users/lukeapage/received_events","type":"User","site_admin":false},"labels":[{"id":2103265,"node_id":"MDU6TGFiZWwyMTAzMjY1","url":"https://api.github.com/repos/less/less.js/labels/bug","name":"bug","color":"e10c02","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2015-07-08T15:34:26Z","updated_at":"2018-07-27T23:47:55Z","closed_at":null,"author_association":"MEMBER","body":"from https://github.com/less/less.js/issues/2541 but I've seen this in projects\n\n```\n// mixins.less\n.background(@image) {\n    background-image: data-uri(@image);\n}\n```\n\n```\n// app/content/button.less\nbutton {\n  .background(\"images/btn.jpg\");\n}\n```\n\nI would expect the image to be fetched from `app/content/images/btn.jpg` but it is fetched from `images/btn.jpg`.\n\nI welcome feedback on whether this is a breaking change (warranting a major up) or a bug fix.\n"},"comment":{"url":"https://api.github.com/repos/less/less.js/issues/comments/408564975","html_url":"https://github.com/less/less.js/issues/2629#issuecomment-408564975","issue_url":"https://api.github.com/repos/less/less.js/issues/2629","id":408564975,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODU2NDk3NQ==","user":{"login":"matthew-dean","id":414752,"node_id":"MDQ6VXNlcjQxNDc1Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/414752?v=4","gravatar_id":"","url":"https://api.github.com/users/matthew-dean","html_url":"https://github.com/matthew-dean","followers_url":"https://api.github.com/users/matthew-dean/followers","following_url":"https://api.github.com/users/matthew-dean/following{/other_user}","gists_url":"https://api.github.com/users/matthew-dean/gists{/gist_id}","starred_url":"https://api.github.com/users/matthew-dean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthew-dean/subscriptions","organizations_url":"https://api.github.com/users/matthew-dean/orgs","repos_url":"https://api.github.com/users/matthew-dean/repos","events_url":"https://api.github.com/users/matthew-dean/events{/privacy}","received_events_url":"https://api.github.com/users/matthew-dean/received_events","type":"User","site_admin":false},"created_at":"2018-07-27T23:47:55Z","updated_at":"2018-07-27T23:47:55Z","author_association":"MEMBER","body":"@miljan-aleksic By \"absolute\" do you mean relative to the file at the location of `data-uri`? If so \"absolute\" is probably the wrong term.\r\n\r\nIt seems like a functional wrapper for a url to make it file-relative is a good approach though."}}
{"actor":{"display_login":"matthew-dean"}}