{"action":"created","issue":{"url":"https://api.github.com/repos/sass/node-sass/issues/895","labels_url":"https://api.github.com/repos/sass/node-sass/issues/895/labels{/name}","comments_url":"https://api.github.com/repos/sass/node-sass/issues/895/comments","events_url":"https://api.github.com/repos/sass/node-sass/issues/895/events","html_url":"https://github.com/sass/node-sass/issues/895","id":71358595,"number":895,"title":"Current Sass File","user":{"login":"chriseppstein","id":1839,"avatar_url":"https://avatars.githubusercontent.com/u/1839?v=3","gravatar_id":"","url":"https://api.github.com/users/chriseppstein","html_url":"https://github.com/chriseppstein","followers_url":"https://api.github.com/users/chriseppstein/followers","following_url":"https://api.github.com/users/chriseppstein/following{/other_user}","gists_url":"https://api.github.com/users/chriseppstein/gists{/gist_id}","starred_url":"https://api.github.com/users/chriseppstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriseppstein/subscriptions","organizations_url":"https://api.github.com/users/chriseppstein/orgs","repos_url":"https://api.github.com/users/chriseppstein/repos","events_url":"https://api.github.com/users/chriseppstein/events{/privacy}","received_events_url":"https://api.github.com/users/chriseppstein/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sass/node-sass/labels/API%20-%20Custom%20Functions","name":"API - Custom Functions","color":"009800"},{"url":"https://api.github.com/repos/sass/node-sass/labels/Feature%20-%20Request","name":"Feature - Request","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/sass/node-sass/milestones/7","html_url":"https://github.com/sass/node-sass/milestones/next.minor","labels_url":"https://api.github.com/repos/sass/node-sass/milestones/7/labels","id":1087616,"number":7,"title":"next.minor","description":"This milestone tracks issues and PRs for the upcoming minor release.\r\n\r\nThis is used for prioritisation and tracking release notes.","creator":{"login":"xzyfer","id":579928,"avatar_url":"https://avatars.githubusercontent.com/u/579928?v=3","gravatar_id":"","url":"https://api.github.com/users/xzyfer","html_url":"https://github.com/xzyfer","followers_url":"https://api.github.com/users/xzyfer/followers","following_url":"https://api.github.com/users/xzyfer/following{/other_user}","gists_url":"https://api.github.com/users/xzyfer/gists{/gist_id}","starred_url":"https://api.github.com/users/xzyfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xzyfer/subscriptions","organizations_url":"https://api.github.com/users/xzyfer/orgs","repos_url":"https://api.github.com/users/xzyfer/repos","events_url":"https://api.github.com/users/xzyfer/events{/privacy}","received_events_url":"https://api.github.com/users/xzyfer/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":3,"state":"open","created_at":"2015-04-28T14:47:29Z","updated_at":"2015-09-21T08:14:52Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2015-04-27T18:03:00Z","updated_at":"2015-10-14T17:21:00Z","closed_at":null,"body":"In a custom function, it seems there's no way to know what is the current sass file (imported) or the current main sass file. In ruby sass this is accessible from the sass options which are reachable via the current contex (this) of the function being evaluated.\r\n\r\nIdeally we could call `this.options` and get access to the options and also access to other current runtime information either in the options or from some other property of `this`."},"comment":{"url":"https://api.github.com/repos/sass/node-sass/issues/comments/148124161","html_url":"https://github.com/sass/node-sass/issues/895#issuecomment-148124161","issue_url":"https://api.github.com/repos/sass/node-sass/issues/895","id":148124161,"user":{"login":"chriseppstein","id":1839,"avatar_url":"https://avatars.githubusercontent.com/u/1839?v=3","gravatar_id":"","url":"https://api.github.com/users/chriseppstein","html_url":"https://github.com/chriseppstein","followers_url":"https://api.github.com/users/chriseppstein/followers","following_url":"https://api.github.com/users/chriseppstein/following{/other_user}","gists_url":"https://api.github.com/users/chriseppstein/gists{/gist_id}","starred_url":"https://api.github.com/users/chriseppstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriseppstein/subscriptions","organizations_url":"https://api.github.com/users/chriseppstein/orgs","repos_url":"https://api.github.com/users/chriseppstein/repos","events_url":"https://api.github.com/users/chriseppstein/events{/privacy}","received_events_url":"https://api.github.com/users/chriseppstein/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T17:21:00Z","updated_at":"2015-10-14T17:21:00Z","body":"Maybe I'll take another swing at this, I had a patch but couldn't make it work, but a coworker helped me find my bug and so I think I can do it now."}}