{"action":"closed","issue":{"url":"https://api.github.com/repos/zellwk/mappy-breakpoints/issues/4","labels_url":"https://api.github.com/repos/zellwk/mappy-breakpoints/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/zellwk/mappy-breakpoints/issues/4/comments","events_url":"https://api.github.com/repos/zellwk/mappy-breakpoints/issues/4/events","html_url":"https://github.com/zellwk/mappy-breakpoints/issues/4","id":92467155,"number":4,"title":"resolution queries in $breakpoints results in unit() error","user":{"login":"cr0ybot","id":304784,"avatar_url":"https://avatars.githubusercontent.com/u/304784?v=3","gravatar_id":"","url":"https://api.github.com/users/cr0ybot","html_url":"https://github.com/cr0ybot","followers_url":"https://api.github.com/users/cr0ybot/followers","following_url":"https://api.github.com/users/cr0ybot/following{/other_user}","gists_url":"https://api.github.com/users/cr0ybot/gists{/gist_id}","starred_url":"https://api.github.com/users/cr0ybot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cr0ybot/subscriptions","organizations_url":"https://api.github.com/users/cr0ybot/orgs","repos_url":"https://api.github.com/users/cr0ybot/repos","events_url":"https://api.github.com/users/cr0ybot/events{/privacy}","received_events_url":"https://api.github.com/users/cr0ybot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-07-01T19:31:55Z","updated_at":"2015-07-28T03:00:47Z","closed_at":"2015-07-28T03:00:47Z","body":"I have to say, I love mappy-breakpoints! It's been so flexible up to this point, I couldn't use anything else.\r\n\r\nThat out of the way, I like to put resolution breakpoints in the map, or at least I would if it worked. I tried both `'hires': min-resolution 1.5dppx` and `'lores': max-resolution 1.5dppx`, and both result in this error:\r\n\r\n```\r\n>> argument `$number` of `unit($number)` must be a number\r\n>> \r\n>> Backtrace:\r\n>> \tbower_components/mappy-breakpoints/_mappy-breakpoints.scss:166, in function `unit`\r\n>> \tbower_components/mappy-breakpoints/_mappy-breakpoints.scss:166, in function `mappy-convert-to-em`\r\n>> \tbower_components/mappy-breakpoints/_mappy-breakpoints.scss:71, in function `parse-bp`\r\n>> \tbower_components/mappy-breakpoints/_mappy-breakpoints.scss:19, in mixin `mappy-bp`\r\n>> \tscss/modules/_section.scss:57\r\n>>   Line 166  Column 7  bower_components/mappy-breakpoints/_mappy-breakpoints.scss\r\n```\r\n\r\nHowever, using the query directly (`@include mappy-bp(min-resolution 1.5dppx)`) works flawlessly."}}