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

Better compass support #62

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

Conversation

QuLogic
Copy link
Contributor

@QuLogic QuLogic commented Mar 30, 2012

These commits clean up various things, and help shape up the support for Compass.

Besides minor whitespace and sorting issues, this gets most of the samples working fairly close to the Ruby version.

There are a couple problems for which I don't have a great answer yet, and I've filed issues for those here (#59 and #61).

There's no guarantee that 'tokens' is a single value here, so it
needs to be wrapped in a tuple.
The separator is a text string signifying what to use, not the actual
separator itself.
The append function, unlike join, always add a single item to the end
of the list, even if that new item is already a list.
That is, some dependent functions require being able to use 'in' on
the result, so returning just a NumberValue is not good.
This function checks if each value in the list is 'not in' the
rejection list. However, the rejection parameter was never guaranteed
to be a list-type.
The dictionary in a ListValue class is in the value member, not
itself.
I only say "temporarily", because quotes could be escaped, and then
there could be an odd number of them. This might need a real parser
instead.
@Kronuz
Copy link
Owner

Kronuz commented Jan 17, 2013

@QuLogic, do you think we could get in touch via email or a live chat? I'm working towards improving pyScss in several areas and I'm interested in this pull request.

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.

2 participants