Skip to content

Commit 3bd276b

Browse files
committed
Merge pull request #802 from mgreter/todo/issue_558
Add todo spec test for libsass issue 558
2 parents d30dd6c + 4ad413a commit 3bd276b

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
div {
2+
foo: "yes";
3+
bar: "no"; }
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
@function is_gold($c) {
2+
@if ($c == gold) {
3+
@return 'yes';
4+
}
5+
@return 'no';
6+
}
7+
8+
div {
9+
foo: is_gold(gold);
10+
bar: is_gold(white);
11+
}

0 commit comments

Comments
 (0)