GeezerVison is showing github.com — fix: remove undefined script-related fields from the JSON report · w3c/epubcheck@1931d73
File tree
Expand file treeCollapse file tree
Open diff view settings
src/main/java/com/adobe/epubcheck
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/reporting/ItemMetadata.java -24Lines changed: 0 additions & 24 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -37,12 +37,6 @@ public class ItemMetadata implements Comparable<ItemMetadata> |
37 | 37 | @JsonProperty |
38 | 38 | private boolean isScripted; |
39 | 39 | @JsonProperty |
40 | | - private boolean scriptSrc; |
41 | | - @JsonProperty |
42 | | - private boolean scriptTag; |
43 | | - @JsonProperty |
44 | | - private boolean scriptInline; |
45 | | - @JsonProperty |
46 | 40 | private String renditionLayout; |
47 | 41 | @JsonProperty |
48 | 42 | private String renditionOrientation; |
@@ -167,24 +161,6 @@ public void handleInfo(FeatureEnum feature, String value) |
167 | 161 | case SPINE_INDEX: |
168 | 162 | this.spineIndex = Integer.parseInt(value.trim()); |
169 | 163 | break; |
170 | | - case SCRIPT: |
171 | | - if (value.equals("inline")) |
172 | | - { |
173 | | - this.scriptInline = true; |
174 | | - } |
175 | | - else if (value.equals("external")) |
176 | | - { |
177 | | - this.scriptSrc = true; |
178 | | - } |
179 | | - else if (value.equals("javascript")) |
180 | | - { |
181 | | - this.scriptSrc = true; |
182 | | - } |
183 | | - else if (value.equals("tag")) |
184 | | - { |
185 | | - this.scriptTag = true; |
186 | | - } |
187 | | - break; |
188 | 164 | case RENDITION_LAYOUT: |
189 | 165 | this.renditionLayout = value; |
190 | 166 | break; |
|
Collapse file
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/util/FeatureEnum.java -1Lines changed: 0 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -74,7 +74,6 @@ public enum FeatureEnum |
74 | 74 | RENDITION_ORIENTATION("rendition:orientation"), |
75 | 75 | RENDITION_SPREAD("rendition:spread"), |
76 | 76 | RESOURCE("resource"), |
77 | | - SCRIPT("script"), |
78 | 77 | SECTIONS("sections"), |
79 | 78 | SHA_256("SHA-256"), |
80 | 79 | SIZE("size"), |
|