less 1.2.17 → 1.2.18
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/Rakefile +9 -18
- data/VERSION +1 -1
- data/less.gemspec +4 -2
- data/lib/less/engine.rb +8 -10
- data/lib/less/engine/grammar/entity.tt +2 -0
- data/lib/less/engine/grammar/less.tt +14 -11
- data/lib/less/engine/nodes/function.rb +4 -0
- data/lib/less/engine/nodes/property.rb +3 -0
- data/spec/css/dash-prefix.css +5 -0
- data/spec/engine_spec.rb +4 -0
- data/spec/less/big.less +1261 -4807
- data/spec/less/dash-prefix.less +8 -0
- metadata +4 -2
@@ -0,0 +1,8 @@
|
|
1
|
+
@top_color: red;
|
2
|
+
@bottom_color: green;
|
3
|
+
|
4
|
+
body {
|
5
|
+
background: @bottom_color;
|
6
|
+
background-image: -moz-linear-gradient(top, bottom, from(@top_color), to(@bottom_color));
|
7
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0.00, @top_color), color-stop(1.00, @bottom_color));
|
8
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: less
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cloudhead
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-12-02 00:00:00 -05:00
|
13
13
|
default_executable: lessc
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -72,6 +72,7 @@ files:
|
|
72
72
|
- spec/css/comments.css
|
73
73
|
- spec/css/css-3.css
|
74
74
|
- spec/css/css.css
|
75
|
+
- spec/css/dash-prefix.css
|
75
76
|
- spec/css/functions.css
|
76
77
|
- spec/css/import.css
|
77
78
|
- spec/css/lazy-eval.css
|
@@ -92,6 +93,7 @@ files:
|
|
92
93
|
- spec/less/comments.less
|
93
94
|
- spec/less/css-3.less
|
94
95
|
- spec/less/css.less
|
96
|
+
- spec/less/dash-prefix.less
|
95
97
|
- spec/less/exceptions/mixed-units-error.less
|
96
98
|
- spec/less/exceptions/name-error-1.0.less
|
97
99
|
- spec/less/exceptions/syntax-error-1.0.less
|