@@ -11,11 +11,11 @@ function Search(menu) {
1111
1212 this . $searchBox . addEventListener (
1313 'keydown' ,
14- debounce ( this . searchBoxKeydown . bind ( this ) , { stopPropagation : true } )
14+ debounce ( this . searchBoxKeydown . bind ( this ) , { stopPropagation : true } ) ,
1515 ) ;
1616 this . $searchBox . addEventListener (
1717 'keyup' ,
18- debounce ( this . searchBoxKeyup . bind ( this ) , { stopPropagation : true } )
18+ debounce ( this . searchBoxKeyup . bind ( this ) , { stopPropagation : true } ) ,
1919 ) ;
2020
2121 // Perform an initial search if the box is not empty.
@@ -215,7 +215,6 @@ Search.prototype.displayResults = function (results) {
215215 }
216216
217217 if ( text ) {
218- // prettier-ignore
219218 html += `<li class=menu-search-result-${ cssClass } ><a href="${ makeLinkToId ( id ) } ">${ text } </a></li>` ;
220219 }
221220 } ) ;
@@ -397,7 +396,7 @@ function findActiveClause(root, path) {
397396 let marginTop = Math . max (
398397 0 ,
399398 parseInt ( clauseStyles [ 'margin-top' ] ) ,
400- parseInt ( getComputedStyle ( $header ) [ 'margin-top' ] )
399+ parseInt ( getComputedStyle ( $header ) [ 'margin-top' ] ) ,
401400 ) ;
402401 let marginBottom = Math . max ( 0 , parseInt ( clauseStyles [ 'margin-bottom' ] ) ) ;
403402 let crossesMidpoint =
@@ -495,7 +494,6 @@ Menu.prototype.addPinEntry = function (id) {
495494 } else {
496495 prefix = '' ;
497496 }
498- // prettier-ignore
499497 text = `${ prefix } ${ entry . titleHTML } ` ;
500498 } else {
501499 text = getKey ( entry ) ;
@@ -842,7 +840,6 @@ let referencePane = {
842840 e . parentNode . replaceChild ( document . createTextNode ( e . textContent ) , e ) ;
843841 } ) ;
844842
845- // prettier-ignore
846843 this . $headerText . innerHTML = `Syntax-Directed Operations for<br><a href="${ makeLinkToId ( alternativeId ) } " class="menu-pane-header-production"><emu-nt>${ parentName } </emu-nt> ${ colons . outerHTML } </a>` ;
847844 this . $headerText . querySelector ( 'a' ) . append ( rhs ) ;
848845 this . showSDOsBody ( sdos , alternativeId ) ;
@@ -1115,7 +1112,7 @@ function init() {
11151112 'mouseover' ,
11161113 debounce ( e => {
11171114 Toolbox . activateIfMouseOver ( e ) ;
1118- } )
1115+ } ) ,
11191116 ) ;
11201117 document . addEventListener (
11211118 'keydown' ,
@@ -1126,7 +1123,7 @@ function init() {
11261123 }
11271124 document . getElementById ( 'shortcuts-help' ) . classList . remove ( 'active' ) ;
11281125 }
1129- } )
1126+ } ) ,
11301127 ) ;
11311128}
11321129
0 commit comments