sass 3.1.0.alpha.252 → 3.1.0.alpha.253
Sign up to get free protection for your applications and to get access to all the features.
- data/REVISION +1 -1
- data/VERSION +1 -1
- data/lib/sass/tree/visitors/perform.rb +1 -1
- data/test/sass/engine_test.rb +17 -0
- metadata +2 -2
data/REVISION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
02db3940e6d197d5b6cea590ae39dd509475f85a
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.0.alpha.
|
1
|
+
3.1.0.alpha.253
|
data/test/sass/engine_test.rb
CHANGED
@@ -2157,6 +2157,23 @@ CSS
|
|
2157
2157
|
SASS
|
2158
2158
|
end
|
2159
2159
|
|
2160
|
+
def test_mixin_with_keyword_arg_variable_value
|
2161
|
+
assert_equal <<CSS, render(<<SASS)
|
2162
|
+
.mixed {
|
2163
|
+
required: foo;
|
2164
|
+
arg1: default-val1;
|
2165
|
+
arg2: a-value; }
|
2166
|
+
CSS
|
2167
|
+
=a-mixin($required, $arg1: default-val1, $arg2: default-val2)
|
2168
|
+
required: $required
|
2169
|
+
arg1: $arg1
|
2170
|
+
arg2: $arg2
|
2171
|
+
.mixed
|
2172
|
+
$a-value: a-value
|
2173
|
+
+a-mixin(foo, $arg2: $a-value)
|
2174
|
+
SASS
|
2175
|
+
end
|
2176
|
+
|
2160
2177
|
def test_mixin_keyword_args_handle_variable_underscore_dash_equivalence
|
2161
2178
|
assert_equal <<CSS, render(<<SASS)
|
2162
2179
|
.mixed {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.0.alpha.
|
4
|
+
version: 3.1.0.alpha.253
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Weizenbaum
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2011-
|
14
|
+
date: 2011-04-10 00:00:00 -04:00
|
15
15
|
default_executable:
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|