Skip to content

Commit 1443157

Browse files
committed
Update virgin mojito
1 parent 5605db0 commit 1443157

File tree

2 files changed

+38
-50
lines changed

2 files changed

+38
-50
lines changed

doc/_includes/examples/mixins.jsonnet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ local NoAlcohol = {
2020
] else [
2121
ingredient,
2222
],
23-
ingredients: [
23+
ingredients: std.flattenArrays([
2424
Substitute(i)
2525
for i in super.ingredients
26-
],
26+
]),
2727
};
2828

2929
local PartyMode = {

doc/_includes/examples/mixins.jsonnet.golden

Lines changed: 36 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -2,60 +2,48 @@
22
"Virgin Daiquiri": {
33
"garnish": "Lime wedge",
44
"ingredients": [
5-
[
6-
{
7-
"kind": "Water",
8-
"qty": 2
9-
},
10-
{
11-
"kind": "Vanilla Essence",
12-
"qty": "dash"
13-
},
14-
{
15-
"kind": "Angustura Bitters",
16-
"qty": "dash"
17-
}
18-
],
19-
[
20-
{
21-
"kind": "Lime",
22-
"qty": 1
23-
}
24-
],
25-
[
26-
{
27-
"kind": "Simple Syrup",
28-
"qty": 0.5
29-
}
30-
]
5+
{
6+
"kind": "Water",
7+
"qty": 2
8+
},
9+
{
10+
"kind": "Vanilla Essence",
11+
"qty": "dash"
12+
},
13+
{
14+
"kind": "Angustura Bitters",
15+
"qty": "dash"
16+
},
17+
{
18+
"kind": "Lime",
19+
"qty": 1
20+
},
21+
{
22+
"kind": "Simple Syrup",
23+
"qty": 0.5
24+
}
3125
],
3226
"served": "Straight Up"
3327
},
3428
"Virgin Whiskey Sour": {
3529
"garnish": "Lemon Juice twist",
3630
"ingredients": [
37-
[
38-
{
39-
"kind": "Water",
40-
"qty": 2
41-
},
42-
{
43-
"kind": "Angustura Bitters",
44-
"qty": "tsp"
45-
}
46-
],
47-
[
48-
{
49-
"kind": "Lemon Juice",
50-
"qty": 1
51-
}
52-
],
53-
[
54-
{
55-
"kind": "Simple Syrup",
56-
"qty": 0.5
57-
}
58-
]
31+
{
32+
"kind": "Water",
33+
"qty": 2
34+
},
35+
{
36+
"kind": "Angustura Bitters",
37+
"qty": "tsp"
38+
},
39+
{
40+
"kind": "Lemon Juice",
41+
"qty": 1
42+
},
43+
{
44+
"kind": "Simple Syrup",
45+
"qty": 0.5
46+
}
5947
],
6048
"served": "Straight Up"
6149
},

0 commit comments

Comments
 (0)