1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
Commit graph

23 commits

Author SHA1 Message Date
Nathan Weizenbaum
53ae5b50ce [Sass] Change the behavior of = for a little more backwards-compat. 2010-03-29 11:34:35 -07:00
Nathan Weizenbaum
2baed988d9 [Sass] Make 1px/2px compile to that, literally, when necessary for CSS compatibility. 2010-03-27 02:29:42 -07:00
Nathan Weizenbaum
af21a73ed1 [Sass] Mostly support dynamic : properties in SCSS.
Lots of tests are failing, but they're almost all error-handling tests.
Also, this breaks Sass properties completely.
2010-03-26 04:53:10 -07:00
Nathan Weizenbaum
41775e86f4 [Sass] Update documentation to use $ rather than !. 2010-03-06 17:20:12 -08:00
Nathan Weizenbaum
5cd0999927 [Sass] Add to_sass for a bunch of control structures. 2010-01-26 22:50:39 -08:00
Nathan Weizenbaum
9322af3996 Mark a whole bunch of stuff that shouldn't be publically visible as private. 2010-01-17 16:46:21 -08:00
Nathan Weizenbaum
16bc3b08e0 [Sass] Fix a few Maruku errors. 2009-07-04 15:43:19 -07:00
Chris Eppstein
de6efe861e Raise Sass::UnitConversionError, a subclass of Sass::SyntaxError, when raising errors about unit conversion. Facilitates proper error handling. 2009-07-03 14:11:56 -07:00
Nathan Weizenbaum
1fc98d036d [Sass] Make Script::Number#coerce public. 2009-06-29 01:25:23 -07:00
Nathan Weizenbaum
6a8684f229 [Sass] Make sure the SyntaxError we catch in Script::Number#eq is for incompatible units. 2009-06-29 00:58:01 -07:00
Nathan Weizenbaum
a6af0865bc Merge commit 'chriseppstein/master' 2009-06-29 00:53:24 -07:00
Nathan Weizenbaum
32f325f76e [Sass] Fix a minor style error. 2009-06-29 00:51:58 -07:00
Chris Eppstein
ae4f3193f4 [Sass] Fixed some handling of units in loops and comparisons. 2009-06-29 00:44:52 -07:00
Nathan Weizenbaum
ee6d34e247 [Sass] Fix a minor YARD error. 2009-04-26 22:44:43 -07:00
Nathan Weizenbaum
f08ca20212 [Sass] Fix some attr_reader docs. 2009-04-24 19:36:31 -07:00
Nathan Weizenbaum
6d50229452 [Sass] Convert Sass::Script::Literal docs to YARD. 2009-04-24 18:04:53 -07:00
Nathan Weizenbaum
43182a0d49 [Sass] Convert Sass::Script::Number docs to YARD. 2009-04-24 15:45:16 -07:00
Nathan Weizenbaum
05bf43915c [Sass] Make Number#{gte,lt,lte} raise proper errors when used with non-Numbers. 2009-04-24 01:13:10 -07:00
Nathan Weizenbaum
ad36db1346 [Sass] Dry up Script::Number#plus a little. 2009-04-23 18:02:58 -07:00
Nathan Weizenbaum
470c54dcee [Sass] Make sure the default string ops apply to all types. 2009-03-24 01:31:37 -07:00
Nathan Weizenbaum
56a4b203c2 Properly print infinite and nan Sass numbers. 2008-12-28 02:00:35 -08:00
Chris Eppstein
689bb9e683 No longer perform division using integer division if only integers are used.
If you want integer-based division you should now do the following instead:
floor(14/5)
which will return 2 instead of 2.8.
2008-10-15 20:26:26 -07:00
Nathan Weizenbaum
03d2ab6f3b Rename Sass::Constant to Sass::Script, and refer to constants as variables. 2008-10-12 19:03:06 -07:00
Renamed from lib/sass/constant/number.rb (Browse further)