Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added instructions for migrating to Breakpoint 2.x or staying at Breakpoint 1.x #10

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

lolmaus
Copy link

@lolmaus lolmaus commented Apr 6, 2013

bundle update has broken my project today.

It took me some time to figure things out. I've added instructions for migrating to Breakpoint 2.x or staying at Breakpoint 1.x.

@Snugug
Copy link
Owner

Snugug commented Apr 6, 2013

With the exception of the deprecated $media, $no-query, and $base-font-size input options (deprecated in Breakpoint 2.0), the current version of respond-to is fully compatible with Breakpoint 2.0 with both its legacy syntax option and its new syntax. We are still in the process of documenting Breakpoint 2.0, so this is a little bit premature at the moment.

@lolmaus
Copy link
Author

lolmaus commented Apr 6, 2013

The Respond To gem calls breakpoint like this:

@include breakpoint($mq, $media, $no-query, $base-font-size)

Whereas the corresponding mixin in Breakpoint 2.x is defined like this:

@mixin breakpoint($query)

Which results in crashing a project with a "wrong number of arguments" error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants