@@ -403,7 +403,7 @@ export function setImage (element: HTMLElement, thing: NamedNode) { // 20191230a
403403// See eg http://stackoverflow.com/questions/980855/inputting-a-default-image
404404function faviconOrDefault ( dom : HTMLDocument , x : NamedNode ) {
405405 var image = dom . createElement ( 'img' )
406- ; ( image as any ) . style = style . iconStyle
406+ ; ( image as any ) . style = style . iconStyle
407407 var isOrigin = function ( x ) {
408408 if ( ! x . uri ) return false
409409 var parts = x . uri . split ( '/' )
@@ -701,7 +701,7 @@ export function personTR (dom: HTMLDocument, pred: NamedNode, obj: NamedNode, op
701701 dragAndDrop . makeDraggable ( tr , obj )
702702 }
703703 }
704- ; ( tr as any ) . subject = obj
704+ ; ( tr as any ) . subject = obj
705705 return tr
706706}
707707
@@ -783,7 +783,7 @@ export function attachmentList (dom: HTMLDocument, subject: NamedNode, div: HTML
783783 things . sort ( )
784784 utils . syncTableToArray ( attachmentTable , things , createNewRow )
785785 } )
786- ; ( attachmentOuter as any ) . refresh = refresh // Participate in downstream changes
786+ ; ( attachmentOuter as any ) . refresh = refresh // Participate in downstream changes
787787 refresh ( )
788788
789789 var droppedURIHandler = function ( uris ) {
@@ -829,10 +829,10 @@ export function openHrefInOutlineMode (e: Event) {
829829 const dom = window . document
830830 if ( ( dom as any ) . outlineManager ) {
831831 // @@ TODO Remove the use of document as a global object
832- ; ( dom as any ) . outlineManager . GotoSubject ( store . sym ( uri ) , true , undefined , true , undefined )
832+ ; ( dom as any ) . outlineManager . GotoSubject ( store . sym ( uri ) , true , undefined , true , undefined )
833833 } else if ( window && ( window as any ) . panes && ( window as any ) . panes . getOutliner ) {
834834 // @@ TODO Remove the use of window as a global object
835- ; ( window as any ) . panes
835+ ; ( window as any ) . panes
836836 . getOutliner ( )
837837 . GotoSubject ( store . sym ( uri ) , true , undefined , true , undefined )
838838 } else {
@@ -949,7 +949,7 @@ export function linkButton (dom: HTMLDocument, object: NamedNode): HTMLElement {
949949 b . textContent = 'Goto ' + utils . label ( object )
950950 b . addEventListener ( 'click' , function ( _event ) {
951951 // b.parentNode.removeChild(b)
952- ; ( dom as any ) . outlineManager . GotoSubject ( object , true , undefined , true , undefined )
952+ ; ( dom as any ) . outlineManager . GotoSubject ( object , true , undefined , true , undefined )
953953 } , true )
954954 return b
955955}
@@ -962,7 +962,7 @@ export function removeButton (dom: HTMLDocument, element: HTMLElement) {
962962 b . setAttribute ( 'type' , 'button' )
963963 b . textContent = '✕' // MULTIPLICATION X
964964 b . addEventListener ( 'click' , function ( _event ) {
965- ; ( element as any ) . parentNode . removeChild ( element )
965+ ; ( element as any ) . parentNode . removeChild ( element )
966966 } , true )
967967 return b
968968}
@@ -1292,7 +1292,7 @@ export function fileUploadButtonDiv (
12921292 false
12931293 )
12941294
1295- ; ( input as any ) . style = 'display:none'
1295+ ; ( input as any ) . style = 'display:none'
12961296 const buttonElt = div . appendChild (
12971297 button (
12981298 dom ,
0 commit comments