Commit Graph

27 Commits

Author SHA1 Message Date
Luke Page
090a386a4b don't strip units when compressing for durations 2013-09-01 18:34:18 +01:00
Luke Page
fc35190d38 unused variable cleanup 2013-07-20 22:44:13 +01:00
Luke Page
fb75c42e4b move more files over to use genCSS 2013-07-18 06:48:32 +01:00
Luke Page
aab9c1b24f Fix jshint errors after merge and add jshint to makefile 2013-07-18 06:21:11 +01:00
Luke Page
fb9423b94b Merge remote-tracking branch 'evocateur/all-sourcemap-patches' into sourcemaps-wip 2013-07-17 22:18:29 +01:00
Luke Page
4db7c883cf start refactoring toCSS so we will be able to collect sourcemap information at the same time 2013-07-11 22:08:38 +01:00
Daniel Stockman
8eeaf87a79 JSHint lib/* and test runners. 2013-07-08 19:09:03 -07:00
agatronic
5bc4059c6b Make non strict units less strict and change the default to not be strict units. Fixes #1254 2013-04-26 09:35:56 +01:00
Luke Page
dca16509c2 fix regression: mixin guards compare units correctly 2013-03-06 10:07:43 +00:00
Luke Page
c56db94b7d Add modified (self altering) visitor pattern and class 2013-03-01 13:40:00 +00:00
Luke Page
21cc34b608 Fix #791 - avoid engineering syntax in dimensions 2013-02-16 20:45:34 +00:00
Luke Page
c27922890d Add tests for strict unit errors 2013-01-31 07:06:59 +00:00
Luke Page
3ef22f16f9 Add strictUnits option, add tests for legacy behaviour 2013-01-30 20:31:26 +00:00
Luke Page
3b5ecf5421 Fix merge issues and a code review comment. revert unit change that outputs px*px as it is not valid css 2013-01-23 21:43:39 +00:00
Luke Page
d5bb30b4db Support angle unit conversion. add trig functions. don't compress angle unit. add mod and abs. Fixes #858 and fixes #240 2013-01-06 13:01:10 +00:00
Spocke
8fdec6ba94 Added better compression for dimension values 0px -> 0 and 0.1 -> .1. 2013-01-05 16:30:33 +00:00
Luke Page
4633f7cc4c Fix unit comparing after merge 2013-01-05 15:29:37 +00:00
Marcel Jackwerth
c98495a100 Correct handling of units.
width: 1cm - 5mm
=> width: 0.5cm (instead of -4cm)

@ratio: 100px/50px
=> @ratio == 2 (instead of 2px)
2013-01-05 15:29:31 +00:00
Luke Page
58787596ec Mixin guards take units into account. Fixes #855 2012-11-27 08:36:31 +00:00
Alexis Sellier
77c8df029b support more falsy values 2011-12-30 00:50:26 +01:00
Alexis Sellier
321920a50d mixin guards
Allows functional-style guard expressions:

  .mixin (@a) ? @a > 0 {...}
2011-12-15 23:38:53 +01:00
Alexis Sellier
c290c48b3f node 0.5.x compatibility 2011-11-12 13:13:36 +01:00
cloudhead
a72966fa6a removed constructor names 2010-06-19 01:51:26 -04:00
cloudhead
7768d41050 better cross-environment handling. stub out require() in browser. 2010-06-15 18:44:59 -04:00
cloudhead
fc616b4aa4 Doc for Call, Comments, Operation.. 2010-03-23 18:33:17 -04:00
cloudhead
fe732e843c refactor of module system. Things work properly now, and it's all much cleaner. 2010-03-13 03:34:48 -05:00
cloudhead
f0f425de33 move node/ -> tree/ 2010-03-05 19:19:14 -05:00