summaryrefslogtreecommitdiff
path: root/scss/functions/compass/helpers.py
Commit message (Collapse)AuthorAgeFilesLines
* Gradients _position() optimizations and default positionsGerman M. Bravo2013-08-131-13/+15
|
* Make _position() acept lists of python strings and fix __color_stops() to ↵German M. Bravo2013-08-131-3/+6
| | | | send a list to _positions
* PEP8 cleanupsGerman M. Bravo2013-08-131-0/+10
|
* Using logging to log warningGerman M. Bravo2013-08-131-2/+1
|
* Clean up List use in Compass helpers and compiler.Eevee (Alex Munroe)2013-08-091-33/+9
|
* Fix the Compass headings() function.Eevee (Alex Munroe)2013-08-081-5/+3
|
* Clean up ListValue, rename to List.Eevee (Alex Munroe)2013-08-081-82/+71
| | | | | Tried very hard to clean up all uses in the compass library; hope I got them all!
* enumerate() should never return quoted strings.Eevee (Alex Munroe)2013-08-011-1/+1
|
* Make linear-gradient slightly less crashy.Eevee (Alex Munroe)2013-07-311-0/+7
|
* Fix position() and opposite-position(), I think.Eevee (Alex Munroe)2013-07-301-32/+43
|
* Fix enumerate() and add a test.Eevee (Alex Munroe)2013-07-261-8/+9
|
* NullValue -> NullEevee2013-07-101-2/+2
|
* Couple more compass helper tests.Eevee2013-06-281-7/+13
|
* Eliminate _undefined_re once and for all.Eevee2013-06-261-1/+0
|
* Start on tests for Compass helpers.Eevee2013-06-261-42/+20
| | | | | | | | Fixed some bugs while I was at it. - Boolean conversion was totally wrong; Sass uses Ruby rules. - blank() was wrong. - compact() was needlessly complicated.
* Replace Value._wrap with a less general, less crazy solution.Eevee2013-06-261-4/+4
|
* Fix so the regexp works using StringValue's valueGerman M. Bravo2013-05-061-3/+3
|
* Fix the __compass-list function. (Thanks to QuLogic)German M. Bravo2013-05-061-1/+1
| | | | | The dictionary in a ListValue class is in the value member, not itself.
* Fix the reject function. (Thanks to QuLogic)German M. Bravo2013-05-061-0/+2
| | | | | | 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.
* Add bool checks in compact. and fix the 'compact' function. (Thanks to QuLogic)German M. Bravo2013-05-061-3/+21
| | | | It appears to only remove 'false', and no other false-like values.
* Big Sass function breakout.Eevee2013-02-211-0/+564
- FunctionRegistry is now FunctionLibrary, which sounds more like a thing and less like I had no idea what to call it. - Built-in functions are all added to the library decorator-style. - Built-in functions have been split into several smaller modules. - The stuff in parseutil turns out not to be related to parsing, so it's been broken apart too.