{"action":"created","issue":{"url":"https://api.github.com/repos/less/less.js/issues/2473","labels_url":"https://api.github.com/repos/less/less.js/issues/2473/labels{/name}","comments_url":"https://api.github.com/repos/less/less.js/issues/2473/comments","events_url":"https://api.github.com/repos/less/less.js/issues/2473/events","html_url":"https://github.com/less/less.js/pull/2473","id":58769298,"number":2473,"title":"Bubbling of nested directives","user":{"login":"SomMeri","id":618879,"avatar_url":"https://avatars.githubusercontent.com/u/618879?v=3","gravatar_id":"","url":"https://api.github.com/users/SomMeri","html_url":"https://github.com/SomMeri","followers_url":"https://api.github.com/users/SomMeri/followers","following_url":"https://api.github.com/users/SomMeri/following{/other_user}","gists_url":"https://api.github.com/users/SomMeri/gists{/gist_id}","starred_url":"https://api.github.com/users/SomMeri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SomMeri/subscriptions","organizations_url":"https://api.github.com/users/SomMeri/orgs","repos_url":"https://api.github.com/users/SomMeri/repos","events_url":"https://api.github.com/users/SomMeri/events{/privacy}","received_events_url":"https://api.github.com/users/SomMeri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-24T17:08:18Z","updated_at":"2015-02-26T08:59:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/less/less.js/pulls/2473","html_url":"https://github.com/less/less.js/pull/2473","diff_url":"https://github.com/less/less.js/pull/2473.diff","patch_url":"https://github.com/less/less.js/pull/2473.patch"},"body":"Related to #1691 and #2104 \r\n\r\nDirectives are changed to work the same way as media. The biggest code change is that the `rules` property of `directive.js` contains an array instead of just a ruleset. \r\n\r\nDirective bubbling ends at the closest directive or media, e.g. this remains unchaged by compilation:\r\n````\r\n@media print {\r\n    @supports (upper: test) {\r\n        @supports not (-webkit-font-smoothing: subpixel-antialiased) {\r\n           @media screen {\r\n              nested {\r\n                property: value;\r\n              }\r\n           }\r\n        }\r\n    }\r\n}\r\n````\r\n"},"comment":{"url":"https://api.github.com/repos/less/less.js/issues/comments/76143178","html_url":"https://github.com/less/less.js/pull/2473#issuecomment-76143178","issue_url":"https://api.github.com/repos/less/less.js/issues/2473","id":76143178,"user":{"login":"SomMeri","id":618879,"avatar_url":"https://avatars.githubusercontent.com/u/618879?v=3","gravatar_id":"","url":"https://api.github.com/users/SomMeri","html_url":"https://github.com/SomMeri","followers_url":"https://api.github.com/users/SomMeri/followers","following_url":"https://api.github.com/users/SomMeri/following{/other_user}","gists_url":"https://api.github.com/users/SomMeri/gists{/gist_id}","starred_url":"https://api.github.com/users/SomMeri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SomMeri/subscriptions","organizations_url":"https://api.github.com/users/SomMeri/orgs","repos_url":"https://api.github.com/users/SomMeri/repos","events_url":"https://api.github.com/users/SomMeri/events{/privacy}","received_events_url":"https://api.github.com/users/SomMeri/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T08:59:00Z","updated_at":"2015-02-26T08:59:00Z","body":"I merged it and build is passing. You are welcome ;)"}}