Last active
December 14, 2015 16:49
-
-
Save jiggliemon/5117797 to your computer and use it in GitHub Desktop.
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
{ | |
"name": "block.name" | |
,"type": "core/text" | |
,"blocks": [ | |
{"name": "some.block","type": "core/list"} | |
,{"name": "some.nested.block","type": "core/text"} | |
] | |
} |
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
[{ | |
"reference": { | |
"block.name":[ | |
{"addClass": ["block.name"]} | |
,{"removeChild": ["some.block"]} | |
,{"blocks":[ | |
{"name":"something.new","type":"core/text","template":"path/to/template.tmpl"} | |
]} | |
] | |
} | |
,"blocks": [ | |
{"name": "new.block","type": "core/text"} | |
] | |
}] |
Author
jiggliemon
commented
Mar 8, 2013
- If there's a name, create a new block
- create each
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment