{"issue":{"created_at":"2011-11-13T08:39:58Z","state":"open","updated_at":"2011-11-24T19:26:22Z","user":{"gravatar_id":"a98244cbdacaf1c0b55499466002f7a8","id":169705,"url":"https://api.github.com/users/fat","login":"fat","avatar_url":"https://secure.gravatar.com/avatar/a98244cbdacaf1c0b55499466002f7a8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":3,"body":"This is my attempt at adding support for filter properties - which currently can't be parsed.\r\n\r\nThis allows them to be parsed and also adds support for passing variables directly into them - which is pretty neat and I think a lot nicer than having to use `%` and `e`\r\n\r\nTo get this done I had to add a new entity type called \"assignment\" and also allow the call parser to detect `progid:` types.\r\n\r\nI added a few tests where you can see it in action - all tests still pass and the benchmarks are consistent with master. \r\n\r\nI also built a browser version and tried that with great success :)","assignee":null,"id":2220628,"labels":[],"pull_request":{"patch_url":"https://github.com/cloudhead/less.js/pull/458.patch","html_url":"https://github.com/cloudhead/less.js/pull/458","diff_url":"https://github.com/cloudhead/less.js/pull/458.diff"},"number":458,"title":"Assignment entities","closed_at":null,"html_url":"https://github.com/cloudhead/less.js/issues/458","milestone":null,"url":"https://api.github.com/repos/cloudhead/less.js/issues/458"},"action":"created","comment":{"created_at":"2011-11-24T19:26:22Z","updated_at":"2011-11-24T19:26:22Z","user":{"gravatar_id":"a98244cbdacaf1c0b55499466002f7a8","id":169705,"url":"https://api.github.com/users/fat","login":"fat","avatar_url":"https://secure.gravatar.com/avatar/a98244cbdacaf1c0b55499466002f7a8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"If it's not clear, this pull request allows you to write them out like this:\r\n\r\n```css\r\nfilter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='image.png')\r\n```\r\n\r\nNo quotes, not escaping. Just regular css.\r\n\r\nyou can also use variables and other entities inline just like other css properties in less:\r\n\r\n```css\r\nfilter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=@mySrcVar)\r\n```\r\n\r\nIt's a bummer right now that you have to escape everything because that means that the amazing less tokenizer that @cloudhead wrote can't be used to parse regular css.","id":2868467,"url":"https://api.github.com/repos/cloudhead/less.js/issues/comments/2868467"}}