Skip to content

Commit 9b25046

Browse files
author
Jerry Lopez
committed
Move container snippets to container.json
1 parent 5ac031c commit 9b25046

File tree

2 files changed

+19
-16
lines changed

2 files changed

+19
-16
lines changed

snippets/layout.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,6 @@
1616
],
1717
"description": "Defines a wrapping block"
1818
},
19-
"Container": {
20-
"prefix": "m2.layout.container",
21-
"body": [
22-
"<container name=\"$1\" label=\"$2\" output=\"${3:0}\" htmlTag=\"$4\" htmlId=\"$5\" htmlClass=\"$6\" />$0"
23-
],
24-
"description": "A structure without content that holds other layout elements such as blocks and containers"
25-
},
26-
"Container Wrap": {
27-
"prefix": "m2.layout.containerWrap",
28-
"body": [
29-
"<container name=\"$1\" label=\"$2\" output=\"${3:0}\" htmlTag=\"$4\" htmlId=\"$5\" htmlClass=\"$6\">",
30-
"\t$0",
31-
"</container>"
32-
],
33-
"description": "A structure without content that holds other layout elements such as blocks and containers"
34-
},
3519
"Reference Block": {
3620
"prefix": "m2.layout.refBlock",
3721
"body": [

snippets/layout/container.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"Container": {
3+
"prefix": "m2.layout.container",
4+
"body": [
5+
"<container name=\"$1\" label=\"$2\" output=\"${3:0}\" htmlTag=\"$4\" htmlId=\"$5\" htmlClass=\"$6\" />$0"
6+
],
7+
"description": "A structure without content that holds other layout elements such as blocks and containers"
8+
},
9+
10+
"Container Wrap": {
11+
"prefix": "m2.layout.containerWrap",
12+
"body": [
13+
"<container name=\"$1\" label=\"$2\" output=\"${3:0}\" htmlTag=\"$4\" htmlId=\"$5\" htmlClass=\"$6\">",
14+
"\t$0",
15+
"</container>"
16+
],
17+
"description": "A structure without content that holds other layout elements such as blocks and containers"
18+
},
19+
}

0 commit comments

Comments
 (0)