Skip to content

Commit c069953

Browse files
author
Jerry Lopez
committed
Move block snippets to block.json
1 parent 9b25046 commit c069953

File tree

2 files changed

+19
-17
lines changed

2 files changed

+19
-17
lines changed

snippets/layout.json

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,4 @@
11
{
2-
/* Tags */
3-
"Block": {
4-
"prefix": "m2.layout.block",
5-
"body": [
6-
"<block class=\"$1\" name=\"$3\" as=\"$5\" template=\"$7\" />$0",
7-
],
8-
"description": "Defines a block"
9-
},
10-
"Block Wrap": {
11-
"prefix": "m2.layout.blockWrap",
12-
"body": [
13-
"<block class=\"$1\" name=\"$3\" as=\"$5\" template=\"$7\" />",
14-
"\t$0",
15-
"</block>"
16-
],
17-
"description": "Defines a wrapping block"
18-
},
192
"Reference Block": {
203
"prefix": "m2.layout.refBlock",
214
"body": [

snippets/layout/block.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"Block": {
3+
"prefix": "m2.layout.block",
4+
"body": [
5+
"<block class=\"$1\" name=\"$3\" as=\"$5\" template=\"$7\" />$0",
6+
],
7+
"description": "Defines a block"
8+
},
9+
10+
"Block Wrap": {
11+
"prefix": "m2.layout.blockWrap",
12+
"body": [
13+
"<block class=\"$1\" name=\"$3\" as=\"$5\" template=\"$7\" />",
14+
"\t$0",
15+
"</block>"
16+
],
17+
"description": "Defines a wrapping block"
18+
},
19+
}

0 commit comments

Comments
 (0)