Skip to content

Commit

Permalink
Remove group around no-date cluster (#5731)
Browse files Browse the repository at this point in the history
Unnecessary and removing ensures good performance across citeprocs

andras-simonyi/citeproc-el#70 (comment)
  • Loading branch information
bwiernik authored Nov 19, 2021
1 parent 0710b51 commit 038a8f5
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 48 deletions.
6 changes: 2 additions & 4 deletions apa-6th-edition-no-ampersand.csl
Original file line number Diff line number Diff line change
Expand Up @@ -965,10 +965,8 @@
</group>
</else-if>
<else>
<group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</else>
</choose>
</macro>
Expand Down
6 changes: 2 additions & 4 deletions apa-6th-edition.csl
Original file line number Diff line number Diff line change
Expand Up @@ -964,10 +964,8 @@
</group>
</else-if>
<else>
<group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</else>
</choose>
</macro>
Expand Down
6 changes: 2 additions & 4 deletions apa-annotated-bibliography.csl
Original file line number Diff line number Diff line change
Expand Up @@ -481,10 +481,8 @@
</group>
</else-if>
<else>
<group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</else>
</choose>
</group>
Expand Down
6 changes: 2 additions & 4 deletions apa-cv.csl
Original file line number Diff line number Diff line change
Expand Up @@ -426,10 +426,8 @@
</group>
</else-if>
<else>
<group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</else>
</choose>
</group>
Expand Down
6 changes: 2 additions & 4 deletions apa-no-ampersand.csl
Original file line number Diff line number Diff line change
Expand Up @@ -481,10 +481,8 @@
</group>
</else-if>
<else>
<group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</else>
</choose>
</group>
Expand Down
6 changes: 2 additions & 4 deletions apa-no-doi-no-issue.csl
Original file line number Diff line number Diff line change
Expand Up @@ -971,10 +971,8 @@
</group>
</else-if>
<else>
<group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</else>
</choose>
</macro>
Expand Down
6 changes: 2 additions & 4 deletions apa-numeric-superscript-brackets.csl
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,8 @@
</group>
</else-if>
<else>
<group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</else>
</choose>
</group>
Expand Down
6 changes: 2 additions & 4 deletions apa-numeric-superscript.csl
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,8 @@
</group>
</else-if>
<else>
<group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</else>
</choose>
</group>
Expand Down
6 changes: 2 additions & 4 deletions apa-old-doi-prefix.csl
Original file line number Diff line number Diff line change
Expand Up @@ -965,10 +965,8 @@
</group>
</else-if>
<else>
<group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</else>
</choose>
</macro>
Expand Down
6 changes: 2 additions & 4 deletions apa-single-spaced.csl
Original file line number Diff line number Diff line change
Expand Up @@ -481,10 +481,8 @@
</group>
</else-if>
<else>
<group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</else>
</choose>
</group>
Expand Down
6 changes: 2 additions & 4 deletions apa-with-abstract.csl
Original file line number Diff line number Diff line change
Expand Up @@ -481,10 +481,8 @@
</group>
</else-if>
<else>
<group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</else>
</choose>
</group>
Expand Down
6 changes: 2 additions & 4 deletions apa.csl
Original file line number Diff line number Diff line change
Expand Up @@ -481,10 +481,8 @@
</group>
</else-if>
<else>
<group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</else>
</choose>
</group>
Expand Down

0 comments on commit 038a8f5

Please sign in to comment.