Skip to content

Commit e5c0b5c

Browse files
Egor VakhromtsevMartin Grenfell
authored andcommitted
Translate snippets from eruby to haml
Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
1 parent ccf100d commit e5c0b5c

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

haml/if.snippet

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- if ${1}
2+
${2}

haml/ife.snippet

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- if ${1}
2+
${2}
3+
- else
4+

haml/unless.snippet

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- unless ${1}
2+
${2}
3+

haml/unlesse.snippet

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- if ${1}
2+
${2}
3+
- else
4+

0 commit comments

Comments
 (0)