File tree Expand file tree Collapse file tree 1 file changed +35
-35
lines changed
src/main/zapHomeFiles/hud Expand file tree Collapse file tree 1 file changed +35
-35
lines changed Original file line number Diff line number Diff line change @@ -127,8 +127,8 @@ const utils = (function () {
127127 // Split the hostname into parts
128128 const parts = hostname . split ( '.' ) ;
129129
130- // If the hostname has more than two parts, return the last two parts as the domain
131- if ( parts . length > 2 ) {
130+ // If the hostname has more than two parts, return the last two parts as the domain
131+ if ( parts . length > 2 ) {
132132 return parts . slice ( - 2 ) . join ( '.' ) ;
133133 }
134134
@@ -741,40 +741,40 @@ const utils = (function () {
741741 return dateObject . toISOString ( ) . slice ( 11 , 23 ) ;
742742 }
743743
744- if ( typeof module === 'object' ) { // This if check is for unit tests as they work in Node environment only because module.exports is not supported in browser
744+ if ( typeof module === 'object' ) { // This if check is for unit tests as they work in Node environment only because module.exports is not supported in browser
745745 module . exports = {
746- parseRequestHeader,
747- parseResponseHeader,
748- isFromTrustedOrigin,
749- parseDomainFromUrl,
750- getParameter,
751- isHUDInitialized,
752- initializeHUD,
753- loadFrame,
754- saveFrame,
755- registerTool,
756- registerTools,
757- loadTool,
758- writeTool,
759- loadPanelTools,
760- loadAllTools,
761- addToolToPanel,
762- removeToolFromPanel,
763- messageFrame,
764- messageAllTabs,
765- getAllClients,
766- getWindowVisibilityState,
767- messageWindow,
768- sortToolsByPosition,
769- configureButtonHtml,
770- getUpgradedDomain,
771- getUpgradedUrl,
772- errorHandler,
773- getZapFilePath,
774- getZapImagePath,
775- zapApiErrorDialog,
776- log,
777- timestampToTimeString
746+ parseRequestHeader,
747+ parseResponseHeader,
748+ isFromTrustedOrigin,
749+ parseDomainFromUrl,
750+ getParameter,
751+ isHUDInitialized,
752+ initializeHUD,
753+ loadFrame,
754+ saveFrame,
755+ registerTool,
756+ registerTools,
757+ loadTool,
758+ writeTool,
759+ loadPanelTools,
760+ loadAllTools,
761+ addToolToPanel,
762+ removeToolFromPanel,
763+ messageFrame,
764+ messageAllTabs,
765+ getAllClients,
766+ getWindowVisibilityState,
767+ messageWindow,
768+ sortToolsByPosition,
769+ configureButtonHtml,
770+ getUpgradedDomain,
771+ getUpgradedUrl,
772+ errorHandler,
773+ getZapFilePath,
774+ getZapImagePath,
775+ zapApiErrorDialog,
776+ log,
777+ timestampToTimeString
778778 } ;
779779 }
780780
You can’t perform that action at this time.
0 commit comments