generated from openpeeps/pistachio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: George Lemon <[email protected]>
- Loading branch information
1 parent
f51ae5f
commit a22b57d
Showing
6 changed files
with
25 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
$colors = [yellow, blue, pink] | ||
var colors = [yellow, blue, pink] | ||
|
||
for $color in $colors: | ||
case $color | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
$config = @json "sample.json" | ||
const config = @json "sample.json" | ||
|
||
for $color in $config["colors"]: | ||
.btn-{$color} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
$config = @json "sample.json" | ||
const config = @json "sample.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
$a = 5px | ||
$b = 10px | ||
$c = true | ||
$d = 10 | ||
$e = 1.0 | ||
var a = 5px | ||
var b = 10px | ||
var c = true | ||
var d = 10 | ||
var e = 1.0 | ||
|
||
echo $a > $b | ||
echo $a == 5px | ||
echo $b == 10px | ||
|
||
$MAX_WIDTH = 1240px // immutable | ||
echo $MAX_WIDTH | ||
assert $a == 5px | ||
assert "abc" == "abc" | ||
assert 1 == 1 | ||
assert true == true | ||
assert 10 + 10 == 21 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters