Skip to content

Commit 5d23d70

Browse files
committed
Shuffle contentblock definitions around to fix circular references
1 parent 0ef075f commit 5d23d70

17 files changed

+378
-411
lines changed

examples/article.yml

+10-7
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,29 @@
33
_name: 'valid-article'
44
_data:
55
id: "bdcc6765-114a-4184-977d-b01d3132ef69"
6-
type: "image"
6+
type: "article"
77
src: "http://techcrunch.com/2015/04/15/mozilla-restructure/"
8-
html: "<img src=\"http://techcrunch.com/2015/04/15/mozilla-restructure/\" />"
8+
html: "<article><img src=\"http://techcrunch.com/2015/04/15/mozilla-restructure/\" /></article>"
99
-
1010
_valid: true
1111
_name: 'valid-article-with-measurements'
1212
_data:
1313
id: "bdcc6765-114a-4184-977d-b01d3132ef69"
14-
type: "image"
14+
type: "article"
1515
src: "http://techcrunch.com/2015/04/15/mozilla-restructure/"
16-
html: "<img src=\"http://techcrunch.com/2015/04/15/mozilla-restructure/\" />"
16+
html: "<article><img src=\"http://techcrunch.com/2015/04/15/mozilla-restructure/\" /></article>"
1717
cover:
1818
orientation: "landscape"
1919
-
2020
_valid: false
21-
_name: 'article-without-id'
21+
_name: 'valid-article-with-invalid-measurements'
2222
_data:
23-
type: "image"
23+
id: "bdcc6765-114a-4184-977d-b01d3132ef69"
24+
type: "article"
2425
src: "http://techcrunch.com/2015/04/15/mozilla-restructure/"
26+
html: "<article><img src=\"http://techcrunch.com/2015/04/15/mozilla-restructure/\" /></article>"
27+
cover:
28+
orientation: "fancy"
2529
-
2630
_valid: false
2731
_name: 'article-without-type'
@@ -55,4 +59,3 @@
5559
id: "bdcc6765-114a-4184-977d-b01d3132ef69"
5660
type: "image"
5761
src: 42
58-

examples/audio.yml

-39
Original file line numberDiff line numberDiff line change
@@ -26,42 +26,3 @@
2626
src: null
2727
cover:
2828
orientation: "landscape"
29-
-
30-
_valid: false
31-
_name: "audio-without-id"
32-
_data:
33-
type: "audio"
34-
html: '<audio></audio>'
35-
-
36-
_valid: false
37-
_name: "valid-audio-without-type"
38-
_data:
39-
id: "bdcc6765-114a-4184-977d-b01d3132ef69"
40-
html: '<audio></audio>'
41-
-
42-
_valid: false
43-
_name: "audio-with-invalid-id"
44-
_data:
45-
id: "bdcc6765-444444d-b01d3132ef69"
46-
type: "audio"
47-
html: '<audio></audio>'
48-
-
49-
_valid: false
50-
_name: "valid-audio-with-invalid-type"
51-
_data:
52-
id: "bdcc6765-114a-4184-977d-b01d3132ef69"
53-
type: "audi0"
54-
-
55-
_valid: false
56-
_name: "audio-with-invalid-id-type"
57-
_data:
58-
id: 42
59-
type: "audio"
60-
html: '<audio></audio>'
61-
-
62-
_valid: false
63-
_name: "valid-audio-with-invalid-type-type"
64-
_data:
65-
id: "bdcc6765-114a-4184-977d-b01d3132ef69"
66-
type: 42
67-

0 commit comments

Comments
 (0)