-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
exports() and index() function #5932
Comments
There's another issue, which is the That's a less pressing issue than the libsass thing, though, and also not something either of us can fix. Basically But we really appreciate y'alls wanting to work with us <3 |
I'm happy to confirm that the change above works on: Libsass 2.x (master branch with the Tested with Foundation 5.4.6. The CSS looks 100% correct and the Foundation starter page is styled correctly in each case. UpdateI do see the Libsass 3.0 RC4 handles things correctly, regardless of whether The last official release of Libsass 2.x does not recognize the |
Do you guys have any idea what percentage of the Foundation user base is compiling with It is also possible (at least with Bower) to install older versions of Foundation. You could simply tell folks that want to use |
Rails support is definitely important to us (we're also a Rails house so we have an incentive to keep it working), but you're right that a fair compromise would be leaving Rails users at 5.4.6 for now, as long as our users understand not to upgrade. I know RubyGems.org's statistics don't correlate to the size of your userbase, but our old |
Understood. So what's the plan? I don't mean to pressure you guys; I'm just trying to decide how I should handle this situation in CodeKit. Basically, I need to know if you guys are going to update the official repo with this pull request (plus the If not, then I'll have CodeKit manually scan It's about 30 minutes of work for me to implement the manual workaround, so that's not really a factor. But if you guys are going to issue an update with support for newer Sass, that's the best route for me. |
It seeeeems like we should have support to not barf on !global. At least, based on sass/libsass#409. Obviously, libsass 2.0 still won't like it. I'm not on a machine where I can double check it yet. |
@hcatlin confirmed: Libsass 3 tolerates !global. Sent from my iPhone
|
Seems like this is fixable via a change to Foundation, I will make a note of it in the release notes for 3.0, but we've held back 3.0 for 2 days now just waiting on this issue and it's not really something broken with libsass, per se. SO! That's my way of saying I'm greenlighting libsass 3.0 today and hopefully we can get this fix merged in soon. |
Sorry for the delayed response, busy week. My last question was going to be about |
We've actually been coordinating with them on this release, so as soon as this goes out the door, they will update. It's already changed to work with our RC's. |
Nice. We can definitely commit to upgrading, but is it pressing that we upgrade right away as long as |
The patch I sent works for libsass 2.0 and 3.0. And for Sass 3.2 and 3.3. It does not have the !global flag. In 5.5, you can add the global flag which makes it work for libsass 3.0, and Sass 3.3 and 3.4. On Thu, Oct 16, 2014 at 12:17 PM, Geoff Kimball notifications@github.com
|
Great! We'll plan on doing that then. Thanks so much for your help! |
Merged in #5933. We'll see if there's time to put out a minor patch tomorrow, but we weren't planning on it so it might need to be next week. |
left a small note there https://github.com/zurb/foundation/pull/5933/files#r19006447 :-) |
Any idea when a new version will be published? |
This specific change for libsass 3.0 should be out this week, and early next month we'll release 5.5, which will be 3.4-compatible and 3.2-incompatible. |
Hi Foundation!
So, with your current exports() function it seems that you are testing if index() is equal to false. And, #5811 exists, which is talking about the loss of 3.4 compatibility in favour of libsass and 3.2-3.3 compat, but that seems to be focusing on rails and on the !global change, so I've opened this ticket to discuss the index() issues.
In Sass 3.4 and libsass 3.0 (pending release), index() returns null when no value is found, whereas in previous versions, it returned false. That is the source of the current error and it's possible to give support for all versions at once with the following code.
Foundation has been such a great supporter of libsass, that we didn't want to release 3.0 without solving sass/libsass#538.
I'll make a pull request with this change to support all recent versions of sass and libsass.
The text was updated successfully, but these errors were encountered: