{"action":"created","issue":{"url":"https://api.github.com/repos/canjs/canjs/issues/2469","repository_url":"https://api.github.com/repos/canjs/canjs","labels_url":"https://api.github.com/repos/canjs/canjs/issues/2469/labels{/name}","comments_url":"https://api.github.com/repos/canjs/canjs/issues/2469/comments","events_url":"https://api.github.com/repos/canjs/canjs/issues/2469/events","html_url":"https://github.com/canjs/canjs/issues/2469","id":174757077,"number":2469,"title":"can-import self closing tag on css/less","user":{"login":"MarcGodard","id":5016637,"avatar_url":"https://avatars.githubusercontent.com/u/5016637?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcGodard","html_url":"https://github.com/MarcGodard","followers_url":"https://api.github.com/users/MarcGodard/followers","following_url":"https://api.github.com/users/MarcGodard/following{/other_user}","gists_url":"https://api.github.com/users/MarcGodard/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcGodard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcGodard/subscriptions","organizations_url":"https://api.github.com/users/MarcGodard/orgs","repos_url":"https://api.github.com/users/MarcGodard/repos","events_url":"https://api.github.com/users/MarcGodard/events{/privacy}","received_events_url":"https://api.github.com/users/MarcGodard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-09-02T13:14:59Z","updated_at":"2016-09-03T07:14:49Z","closed_at":null,"body":"A self-closing tag should be accepted for css/less\r\n\r\n```\r\n<can-import from=\"somfile.less!\"></can-import>\r\n```\r\nto\r\n```\r\n<can-import from=\"somfile.less!\"/>\r\n```\r\n\r\nThere will never be content.\r\n\r\nCurrently if you do this:\r\n```\r\n{{#if xyz}}\r\n<can-import from=\"somfile.less!\"/>\r\n{{/if}}\r\n```\r\n\r\nThe css/less file is loaded even when ```xyz``` is false, unless you don't use a self closing tag."},"comment":{"url":"https://api.github.com/repos/canjs/canjs/issues/comments/244531775","html_url":"https://github.com/canjs/canjs/issues/2469#issuecomment-244531775","issue_url":"https://api.github.com/repos/canjs/canjs/issues/2469","id":244531775,"user":{"login":"pYr0x","id":1126711,"avatar_url":"https://avatars.githubusercontent.com/u/1126711?v=3","gravatar_id":"","url":"https://api.github.com/users/pYr0x","html_url":"https://github.com/pYr0x","followers_url":"https://api.github.com/users/pYr0x/followers","following_url":"https://api.github.com/users/pYr0x/following{/other_user}","gists_url":"https://api.github.com/users/pYr0x/gists{/gist_id}","starred_url":"https://api.github.com/users/pYr0x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pYr0x/subscriptions","organizations_url":"https://api.github.com/users/pYr0x/orgs","repos_url":"https://api.github.com/users/pYr0x/repos","events_url":"https://api.github.com/users/pYr0x/events{/privacy}","received_events_url":"https://api.github.com/users/pYr0x/received_events","type":"User","site_admin":false},"created_at":"2016-09-03T07:14:49Z","updated_at":"2016-09-03T07:14:49Z","body":"here a demo app.\r\nhttps://github.com/pYr0x/css-import\r\n\r\nsetting the variable to false will not remove the css import!\r\n"}}
{"actor":{"display_login":"pYr0x"}}