lolmaus / breakpoint-slicer

Slice media queries with ease
https://lolmaus.github.io/breakpoint-slicer/
346 stars 28 forks source link

Undefined variable slicer-breakpoint-names #11

Closed jalada closed 10 years ago

jalada commented 10 years ago

It looks like the $slicer-breakpoint-names causes an error if you don’t use it. I get this error trying to precompile / load my stylesheets

Sass::SyntaxError: Undefined variable: "$slicer-breakpoint-names".
 (in /tmp/build_1196b2ef-9b24-4173-b8a0-d2faac0c5ba7/app/assets/stylesheets/main.css.sass:94)
 /tmp/build_1196b2ef-9b24-4173-b8a0-d2faac0c5ba7/vendor/bundle/ruby/2.1.0/gems/breakpoint-slicer-1.3/stylesheets/breakpoint-slicer/_helper-functions.sass:94:in `between'

/cc @jvgreenaway

lolmaus commented 10 years ago

Thank you for pointing this out. A bad mistake on my side.

I've released an updated gem.